This is my take on a utility library for Unity Engine. It has some GUI Scaling Utility Methods, some Debugging Methods, Array Utilities and some other cool stuff like finite state machine, generic singletons, Event Messaging, and etc.
This is an ongoing project which I’ll be updating over time.
- Download from Github
- Compile with VS 2013
- Put dll in Plugins folder of Unity Project
Get the pre-compiled binary dll in bin directory of this repo and put it in plugins folder of your unity project.
public static void l(string msg)
prints a string to the debug console with current time and date and other info e.g. _.l(“Hello”);
public static void ExecOnce(Callback callback,ref bool limiter)
Executes a method only once inside all loop functions ( update, OnGUI, etc)
public static void GUISetup(float customWidth=1366f,float customHeight=768f)
Sets up GUI Scaling correctly. Call this at first line of each OnGUI. e.g. _.GUISetup(); e.g. _.GUISetup(800f,480f);
Find more at the Bitbucket repo.
Feel free to ask any questions regarding _unity as this is a very basic utility library for Unity 3D engine. Catch me on google @ +AbhishekDeb.