Hi All,
My question is just that:
GameObject.AddComponent();
How to make it work in C#? Seems that there is no code for that
Thanks for the help
Hi All,
My question is just that:
GameObject.AddComponent();
How to make it work in C#? Seems that there is no code for that
Thanks for the help
lowercase g
gameObject.AddComponent<Halo>();
you want “this gameObject” not the “GameObject class”