Esempio n. 1
0
 void OnTriggerExit(Collider collision)
 {
     if (collision.tag == "Mission")
     {
         if (facade.GetPresentIndex() == 11)
         {
             appleCanFall = false;
         }
         else if (facade.GetPresentIndex() == 6)
         {
             canTalk = false;
         }
     }
 }
Esempio n. 2
0
 void Start()
 {
     facade = GameFacade.Instance;
     DOTween.To(() => timeCount, a => timeCount = a, 1, 0.1f).OnComplete(() => index = facade.GetPresentIndex());
 }