Example #1
0
 public void onWallhit()
 {
     wallinstance = wallsound.play();
     if (wallinstance.playing == true && collisionTimer.IsStopped())
     {
         wallinstance.stop();
     }
 }
Example #2
0
 public void _on_players_hit()
 {
     QueueFree();
     voiceinstance.stop();
 }