drawHalo ?

drawHalo ?. How do we turn this on and off by script. :slight_smile:

Use the Halo game component instead of the built-in feature, then you can toggle the behavior per usual.

(GetComponent("Halo") as Behaviour).enabled = false;

Thanks for the reply, but I was talking about light halo. They skip right over it in the doc’s lol. Nothing in the search came up about it.

I may be using the wrong key words.

I hope I understood. Maybe I didn’t explain clearly. The built-in light halo properties can’t be altered programmatically, as far as I know. I’ve also hunted around for any documentation or code samples that show how to access it and disable it via the API, but I never could find it. The best work-around that I found was to attach a redundant Halo component to the light and use that in place of the built-in halo feature.

I am struggling finding a way to change programmatically size and color. Behaviour class only accepts enabled prop…

Please, create your own threads and describe your own problems. There should be no need to resurrect a post that’s over 9 years old to ask a follow on question.

1 Like