Hi there,
I have attached a flashing script to a directional light and wish to queue the light to enable after a collision later on in the scene. Any ideas as to how to best do this??
Many thanks
Hi there,
I have attached a flashing script to a directional light and wish to queue the light to enable after a collision later on in the scene. Any ideas as to how to best do this??
Many thanks
A flashing light? You could just set a timer to turn the object off and on. LightObject.light.enabled = false/true; should be correct. Just set a deltaTime timer on Update().