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