private static void RepeatNextCommand() { repeatPreviousIndex = (repeatPreviousIndex + 1).Clamp(0, previousCommands.Count); DebugCanvas.SetCommand(previousCommands.GetSafe(repeatPreviousIndex, string.Empty)); }