Terminal System is a tool that lets you invoke registered functions from anywhere.
Lists the functions that are most similar to the entered value first.
Download the project and place it under the unity Assets folder
MethodInfo[] methods = terminalFunc.GetMethods(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);TerminalSystem uses Reflection to get methodinfo.
#if (UNITY_EDITOR)
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterAssembliesLoaded)]
public static void Init()
{
GameObject terminalSystem = new GameObject("TerminalSystem");
terminalFunc = terminalSystem.AddComponent<TerminalFunc>();
terminalFunc.Init();
}
#endifAutomatically generates the editor when it plays. There is no need to place anything in the scene!
You can enable or disable the console window by typing ALT + ENTER
Just write a function in the TerminalFunc.cs class and add the [Terminal] attribute!
After that, it can be confirmed that the function is registered in the terminal.
I hope my project will help develop efficiently!



