Пример #1
0
        void Awake()
        {
            ProcessingScene.Dynamic = GameObject.Find("Dynamic").transform;

            if (ProcessingUpdate.Default == null)
            {
                ProcessingUpdate.Create();
            }

            if (ProcessingSceneLoad.Default == null)
            {
                ProcessingSceneLoad.Default = Toolbox.Create <ProcessingSceneLoad>();
            }

            ProcessingSceneLoad.Default.Setup(ScenesToKeep, SceneDependsOn, this);
        }
Пример #2
0
 private void Awake()
 {
     Default = this;
 }
Пример #3
0
 private void Awake()
 {
     Default = this;
     Toolbox.Add(this);
 }
Пример #4
0
 private void OnDestroy()
 {
     mngUpdate = null;
 }
Пример #5
0
 public void Setup(ProcessingUpdate mngUpdate)
 {
     this.mngUpdate = mngUpdate;
 }