public override void Awake() { //Debug.Log(gameObject.name + ": MiniMapController.Awake()"); base.Awake(); //instantiate singleton MainMapController tempcontroller = MyInstance; }
public override void Awake() { //Debug.Log(gameObject.name + ": MiniMapController.Awake()"); base.Awake(); //instantiate singleton MainMapController tempcontroller = MyInstance; CameraManager.MyInstance.MyMainMapCamera.enabled = false; }
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); }