Пример #1
0
 void OnCollisionEnter2D(Collision2D collision)
 {
     if ((collision.collider.gameObject.tag != "Walls" && collision.collider.gameObject.tag == "Player"))
     {
         StateContainer.Reload();
     }
 }