• Register

This member has provided no bio about themself...

Comment History
minq20
minq20 - - 1 comments @ Delegates, Events and Singletons with Unity3D – C#

Thanks for the tutorial! Helped me understand how I would go about applying OOP to Unity scripts.
One thing I want to note is that in the Unity3D Scripting manual, it states that if you attempt to define a contstructor for script component, it would interfere with its normal operations (Unity instantiates its objects from the editor and does not take place at the start of the gameplay) and can cause major problems with the project.
I think just by accessing that script from another script, you're guaranteed the one instance that's created at start up.

Thanks.

Good karma+1 vote