コード例 #1
0
ファイル: Player.cs プロジェクト: NoohAlavi/zombies
    public async void ShowBlood()
    {
        _bloodParticles.Show();
        await ToSignal(GetTree().CreateTimer(.5f), "timeout");

        _bloodParticles.Hide();
    }
コード例 #2
0
ファイル: HUD.cs プロジェクト: IndieRonin/Roller
 //Show the exit button for the main n=menu when it shows
 public void LoadMenu()
 {
     HideUI();
     hudParticles.Show();
     EmitSignal(nameof(ShowMenu));
     messageLabel.Show();
     exitBtn.Show();
 }