{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Property StreamingAssetsSubFolder | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Property StreamingAssetsSubFolder

    StreamingAssetsSubFolder

    The subfolder used by the Addressables system for its built data.

    선언
    public static string StreamingAssetsSubFolder { get; }
    프로퍼티 값
    타입 설명
    string
    참고

    The Addressables system currently builds inside the library in a folder named 'aa'. Each platform that is built will be built inside a subfolder matching the platform name. This subfolder is also the base for loading streaming data at runtime. The Editor build location is BuildPath and player is PlayerBuildDataPath.

    예

    The example demonstrates a utility function that looks inside the Streaming Assets subfolder and gets a list of all the subfolders. This is returned as a list of all platforms that have been built on the current machine.

    class StreamingAssetBuilds
    {
        public static string[] GetBuiltPlatforms()
        {
            // list all platform folders in the addressable asset build directory:
            var addressableBuildPath = Addressables.LibraryPath + Addressables.StreamingAssetsSubFolder;
            return Directory.GetDirectories(addressableBuildPath);                
        }
    }
    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)