https://github.com/kyubuns/DebugCommandExecutor.git?path=Assets/DebugCommandExecutor
CleanShot_20240304-135151.mp4
- Just define the method with DebugCommandAttributes.
- Debug commands can be sent to players from Editor on different devices on the same network.
- Autocomplete (Tab, Shift-Tab)
- History (UpArrow, DownArrow)
[DebugCommand("Echo text")]
public static void Echo(string text)
{
Debug.Log(text);
}
[DebugCommand]
public static void Add(int a, int b)
{
Debug.Log($"{a} + {b} = {a + b}");
}
Tools > Debug Command Executor > Window
UNITY_EDITOR
orDEVELOPMENT_BUILD
only.
- By registering shortcuts, you can quickly input debugging commands at any time!
- Unity2022.3 or later
MIT License (see LICENSE)