Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 642 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 642 Bytes

Unity3D C# atributes to help Unity developers write code better and faster

List of Attributes:

UnityConstructorParameter: Sets a field to be on of contructor parameters of the type UnityGameObjectInjection: Uses GameObject.Find() to inject an GameObject into the field UnityComponentInjection: Uses Component.GetComponent() to inject a Component into the field

For the injection to work you have to use one of the two building mechanisms or implement one of your own.

GameObjectBuilder: Uses the Builder Designer Pattern to simplify some of the instatiations UnityContructor: Mimics the GameObject.instantiate call from Unity3D API