Пример #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.GetType() != typeof(Explosion))
     {
         cannon.CreateExplosion(element, transform.position, this);
         Reload();
     }
 }