It is necessary to change the size or color of the halo . Unfortunately, the manual does not say how to do this from the code.
Behaviour myHalo = (Behaviour)GetComponent("Halo"); Allows you to only turn it on and off:
myHalo.enabled = true; myHalo.enabled = false; When trying to set a color:
myHalo.color = Color.magenta; displays:
"Behavior" doesn’t contain a definition for the argument color dire
Halo myHalo = (Halo)GetComponent("Halo"), no? - Alexander Pozharskii