private void deploy() { this.Visible = true; this.Frame = 0; _deployed = true; Play("Open"); GetNode <AudioStreamPlayer2D>("../Audio/UmbrellaOpenPlayer2D").Play(); umbrellaShape.SetDeferred("disabled", false); }
public override void DisableCollisions() { _collisionPolygon.SetDeferred("disabled", true); }
public void Destroy() { Hide(); _collisionShape.SetDeferred("disabled", true); QueueFree(); }