public void OnCommand(ConsoleArgs args) { if (args.TryParse(0, out float val)) { Time.scale = val.min(0); } }
public void OnCommand(ConsoleArgs value) { if (value.TryParse(0, out int val)) { if (val < Godot.OS.GetScreenCount() && val >= 0) { Godot.OS.CurrentScreen = val; } } }