Esempio n. 1
0
 public AsyncOperationHandle <SceneInstance> LoadSceneAsync(
     AssetReferenceSceneAsset sceneReference,
     LoadSceneMode loadMode,
     Action <DiContainer> extraBindings,
     LoadSceneRelationship containerMode)
 {
     return(LoadSceneAsync(
                sceneReference, loadMode, extraBindings, containerMode, null));
 }
Esempio n. 2
0
        public AsyncOperationHandle <SceneInstance> LoadSceneAsync(
            AssetReferenceSceneAsset sceneReference,
            LoadSceneMode loadMode,
            Action <DiContainer> extraBindings,
            LoadSceneRelationship containerMode,
            Action <DiContainer> extraBindingsLate)
        {
            PrepareForLoadScene(loadMode, extraBindings, extraBindingsLate, containerMode);

            return(Addressables.LoadSceneAsync(sceneReference, loadMode));
        }
Esempio n. 3
0
 public AsyncOperationHandle <SceneInstance> LoadSceneAsync(AssetReferenceSceneAsset sceneReference, LoadSceneMode loadMode)
 {
     return(LoadSceneAsync(sceneReference, loadMode, null));
 }
Esempio n. 4
0
 public AsyncOperationHandle <SceneInstance> LoadSceneAsync(AssetReferenceSceneAsset sceneReference)
 {
     return(LoadSceneAsync(sceneReference, LoadSceneMode.Single));
 }