Esempio n. 1
0
 void OnTriggerEnter2D(Collider2D object_collided)
 {
     if (object_collided.tag == "Enemy")
     {
         Destroy(gameObject);
         m_GM = FindObjectOfType <GameFlowManager>();
         m_GM.OnDeath();
     }
 }