コード例 #1
0
 public void Explode()
 {
     TargetAnimator.SetTrigger("explode");
     HitPoints = FullHealth;
     foreach (GameObject Exploder in ExplodeOther)
     {
         UdonBehaviour ExploderUdon = (UdonBehaviour)Exploder.GetComponent(typeof(UdonBehaviour));
         if (ExploderUdon != null)
         {
             ExploderUdon.SendCustomEvent("Explode");
         }
     }
 }