Пример #1
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     if (other.tag == "Garomo")
     {
         Garomo = other.GetComponent <GaromoController>();
         animator.SetTrigger("Garomo");
         Garomo.gravityAct       = false;
         Garomo.transform.parent = transform;
     }
 }
Пример #2
0
 public void OnGaromoEnter()
 {
     GaromoController.GoToNext(Garomo.life);
 }