示例#1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Player"))
     {
         hud.SelfDestructEngage(time);
         AudioManager.PlaySound(clip, AudioManager.AudioGroups.GameMusic);
         Destroy(gameObject);
     }
 }