Exemple #1
0
 public override void _Process(float delta)
 {
     if (_console.CustomProcess(delta))
     {
         Off();
     }
 }
Exemple #2
0
    public override void _Process(float delta)
    {
        if (Input.IsActionJustReleased("console"))
        {
            SetConsoleOn(!_consoleOn);
        }
        if (Input.IsActionJustReleased("ui_cancel"))
        {
            SetMainMenuOn(!_mainMenuOn);
        }

        if (_console.CustomProcess(delta))
        {
            SetConsoleOn(false);
        }
    }