Exemple #1
0
 protected override void OnOpen(Callback <float, bool> callback)
 {
     Instance   = this;
     m_callback = callback;
     Load(0);
     TimeEnd   = 30;
     isTimeEnd = true;
     StartCoroutine(LoadTimeEnd());
     movableManager = new MovableManager(gameObject);
     MsgBase.SendMsg <Callback>("OffGyroControllerCallback", OffGyroallback);
     MsgBase.SendMsg <bool, float>("ShowBlur", true, 10);
 }
Exemple #2
0
 protected override void OnClose(Callback callback)
 {
     movableManager.Delete();
     movableManager = null;
     Destroy(ArrowManager.gameObject);
 }