{!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} Method LoadSceneAsync | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Method LoadSceneAsync

    LoadSceneAsync(object, LoadSceneMode, bool, int)

    Loads an Addressable Scene asset.

    선언
    public static AsyncOperationHandle<SceneInstance> LoadSceneAsync(object key, LoadSceneMode loadMode = LoadSceneMode.Single, bool activateOnLoad = true, int priority = 100)
    파라미터
    타입 이름 설명
    object key

    The key of the location of the scene to load.

    LoadSceneMode loadMode

    Scene load mode.

    bool activateOnLoad

    If false, the scene will load but not activate (for background loading). The SceneInstance returned has an Activate() method that can be called to do this at a later point.

    int priority

    Async operation priority for scene loading.

    반환
    타입 설명
    AsyncOperationHandle<SceneInstance>

    The operation handle for the request.

    참고

    The loadMode, activateOnLoad, and priority parameters correspond to the parameters used in the Unity SceneManager.LoadSceneAsync method.

    See Loading Scenes for more details.

    LoadSceneAsync(object, LoadSceneParameters, bool, int)

    Loads an Addressable Scene asset.

    선언
    public static AsyncOperationHandle<SceneInstance> LoadSceneAsync(object key, LoadSceneParameters loadSceneParameters, bool activateOnLoad = true, int priority = 100)
    파라미터
    타입 이름 설명
    object key

    The key of the location of the scene to load.

    LoadSceneParameters loadSceneParameters

    Scene load mode.

    bool activateOnLoad

    If false, the scene will load but not activate (for background loading). The SceneInstance returned has an Activate() method that can be called to do this at a later point.

    int priority

    Async operation priority for scene loading.

    반환
    타입 설명
    AsyncOperationHandle<SceneInstance>

    The operation handle for the request.

    LoadSceneAsync(IResourceLocation, LoadSceneMode, bool, int)

    Loads an Addressable Scene asset.

    선언
    public static AsyncOperationHandle<SceneInstance> LoadSceneAsync(IResourceLocation location, LoadSceneMode loadMode = LoadSceneMode.Single, bool activateOnLoad = true, int priority = 100)
    파라미터
    타입 이름 설명
    IResourceLocation location

    The location of the scene to load.

    LoadSceneMode loadMode

    Scene load mode.

    bool activateOnLoad

    If false, the scene will load but not activate (for background loading). The SceneInstance returned has an Activate() method that can be called to do this at a later point.

    int priority

    Async operation priority for scene loading.

    반환
    타입 설명
    AsyncOperationHandle<SceneInstance>

    The operation handle for the request.

    LoadSceneAsync(IResourceLocation, LoadSceneParameters, bool, int)

    Loads an Addressable Scene asset.

    선언
    public static AsyncOperationHandle<SceneInstance> LoadSceneAsync(IResourceLocation location, LoadSceneParameters loadSceneParameters, bool activateOnLoad = true, int priority = 100)
    파라미터
    타입 이름 설명
    IResourceLocation location

    The location of the scene to load.

    LoadSceneParameters loadSceneParameters

    Scene load parameters.

    bool activateOnLoad

    If false, the scene will load but not activate (for background loading). The SceneInstance returned has an Activate() method that can be called to do this at a later point.

    int priority

    Async operation priority for scene loading.

    반환
    타입 설명
    AsyncOperationHandle<SceneInstance>

    The operation handle for the request.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)