Hey, I have a fire set in my game but I want the light around the fire to appear only when the fire starts up. How would I do that? Thanks
Have your script get a reference to the light’s intensity component and start it disabled, something like
GetComponent<Light>().enabled = false;
then
if(fireSwitchedOn)
GetComponent<Light>().intensity = 1;
Edit: updated per Eric’s suggestion