How to add Halo by Script?

Hi All,
My question is just that:
GameObject.AddComponent();
How to make it work in C#? Seems that there is no code for that :frowning:

Thanks for the help

lowercase g

gameObject.AddComponent<Halo>();

you want “this gameObject” not the “GameObject class”