Frequently used fuctions

Updated on July 29, 2019 in [A] Unity Scripting
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on July 29, 2019

hello, I have some functions c# that i use frequently and it s not very effcient to re write those functions again and again in every single file. so guys do you have any idea how to implement those functions and use them easily across unity scripting files ? 

  • Liked by
0 on July 29, 2019

Compile your classes and functions into a .dll file.

Its pretty easy then to just drag and drop it into your projects; or if you want it in ALL of your unity projects, you can go to wherever your unity is installed (somewhere like ProgramFiles > Unity) and go to  [unity version] > Editor > Data > Managed, and add your .dll there.


Then, any projects in that unity version, will automatically have your scripts loaded.

  • Liked by