コード例 #1
0
 public void OnImpactButtonPress()
 {
     _UnityChanScript.TriggerImpact();
 }
コード例 #2
0
 private void OnParticleCollision(GameObject other)
 {
     Debug.Log("Ouch! A " + other.name);
     _UnityChanScript.TriggerImpact();
 }