示例#1
0
 private bool onLayoutGameObjectsLoaded(SceneTransitionEvents.LayoutGameObjectsLoaded evt)
 {
     if (sceneStateData != null && sceneStateData.State == SceneStateData.SceneState.Play)
     {
         render(renderOnce: false);
     }
     return(false);
 }
 private bool onLayoutGameObjectsLoaded(SceneTransitionEvents.LayoutGameObjectsLoaded evt)
 {
     SceneLayoutData      = dataEntityCollection.GetComponent <SceneLayoutData>(sceneHandle);
     sceneLayoutContainer = evt.Container;
     if (base.enabled)
     {
         ObjectManipulationInputController.Container = sceneLayoutContainer;
         addObjectManipulators();
     }
     return(false);
 }
 private bool onLayoutGameObjectsLoaded(SceneTransitionEvents.LayoutGameObjectsLoaded evt)
 {
     base.gameObject.SetActive(value: false);
     base.gameObject.SetActive(value: true);
     return(false);
 }
示例#4
0
 private bool onSceneLayoutLoaded(SceneTransitionEvents.LayoutGameObjectsLoaded evt)
 {
     eventChannel.RemoveListener <SceneTransitionEvents.LayoutGameObjectsLoaded>(onSceneLayoutLoaded);
     stateController.HideLoadingModalPopup();
     return(false);
 }