Пример #1
0
 public override void Awake()
 {
     //Debug.Log(gameObject.name + ": MiniMapController.Awake()");
     base.Awake();
     //instantiate singleton
     MainMapController tempcontroller = MyInstance;
 }
Пример #2
0
        public override void Awake()
        {
            //Debug.Log(gameObject.name + ": MiniMapController.Awake()");
            base.Awake();
            //instantiate singleton
            MainMapController tempcontroller = MyInstance;

            CameraManager.MyInstance.MyMainMapCamera.enabled = false;
        }
Пример #3
0
        public override void Awake()
        {
            //Debug.Log(gameObject.name + ": MiniMapController.Awake()");
            base.Awake();
            //instantiate singleton
            MainMapController tempcontroller = MyInstance;

            CameraManager.MyInstance.MainMapCamera.enabled = false;

            SystemEventManager.StartListening("AfterCameraUpdate", HandleAfterCameraUpdate);
            SystemEventManager.StartListening("OnLevelUnload", HandleLevelUnload);
        }