LUA Console history question
LUA Console history question
Is it possible to inject commands into the console's history? It would greatly speed up testing if I could put some commands in the history so I didn't have to type them in each time. I'm on the 1.x version, btw.
Re: LUA Console history question
There isn't a built-in way. You could add a script that defines some really short Lua functions such as A(), B(), etc., or even register short C# functions with Lua. Or you could import LuaConsole.cs from the SourceCode.unitypackage, rename it (e.g., LuaConsole2), and add your customizations.