コード例 #1
0
ファイル: trig.cs プロジェクト: nullNameNull/test
 void OnParticleCollision(GameObject other)
 {
     //попадание в мертвые зоны
     if (other.tag == "Damage")
     {
         myScript.Death();
     }
 }