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