Skip to content

jacobjea/Unity-Terminal-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerminalGif

Terminal System

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.


How to install

image

Download the project and place it under the unity Assets folder


How it works

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();
        }
#endif

Automatically generates the editor when it plays. There is no need to place anything in the scene!


image

You can enable or disable the console window by typing ALT + ENTER


image

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.

Final words

I hope my project will help develop efficiently!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages