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

    목차 표시/숨기기

    Method ProvideScene

    ProvideScene(ISceneProvider, IResourceLocation, LoadSceneMode, bool, int)

    Load a scene at a specificed resource location.

    선언
    public AsyncOperationHandle<SceneInstance> ProvideScene(ISceneProvider sceneProvider, IResourceLocation location, LoadSceneMode loadSceneMode, bool activateOnLoad, int priority)
    파라미터
    타입 이름 설명
    ISceneProvider sceneProvider

    The scene provider instance.

    IResourceLocation location

    The location of the scene.

    LoadSceneMode loadSceneMode

    The load mode for the scene.

    bool activateOnLoad

    If false, the scene will be loaded in the background and not activated when complete.

    int priority

    The priority for the load operation.

    반환
    타입 설명
    AsyncOperationHandle<SceneInstance>

    Async operation handle that will complete when the scene is loaded. If activateOnLoad is false, then Activate() will need to be called on the SceneInstance returned.

    ProvideScene(ISceneProvider, IResourceLocation, LoadSceneParameters, bool, int)

    Load a scene at a specificed resource location.

    선언
    public AsyncOperationHandle<SceneInstance> ProvideScene(ISceneProvider sceneProvider, IResourceLocation location, LoadSceneParameters loadSceneParameters, bool activateOnLoad, int priority)
    파라미터
    타입 이름 설명
    ISceneProvider sceneProvider

    The scene provider instance.

    IResourceLocation location

    The location of the scene.

    LoadSceneParameters loadSceneParameters

    The load parameters for the scene.

    bool activateOnLoad

    If false, the scene will be loaded in the background and not activated when complete.

    int priority

    The priority for the load operation.

    반환
    타입 설명
    AsyncOperationHandle<SceneInstance>

    Async operation handle that will complete when the scene is loaded. If activateOnLoad is false, then Activate() will need to be called on the SceneInstance returned.

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