I have searched a lot about it but nothing worked for me. So pleas anyone help me. I just want to disable halo component through C# script.
You can create a public reference to it and link on editor, like:
public Behaviour halo;
//and then
halo.enable = false;
or you can use GetComponent, like:
GetComponent<Behaviour>().enabled = false; //Be careful if you have more than one Behaviour on your GameObject.