- Home /
toggle projector as light (C#)
I'm using the projector asset as a light in a game I am making. I need to toggle it on and off as if I'm toggling a flashlight. I've tried everything from destroying, disabling (which doesnt work) and toggling far and near clipping distances. I guess I should note that the projector is a prefab. hellllllp
I like how your name is Leeroy Jenks.
Have you tried changing the projection to null when you want it to be off?
Do you mean the clipping pane? I have, it doesn't change anything. Unless you mean something else that I'm not aware of :( and thanks :-D
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Toggle not work in next scene 1 Answer
Renderer on object disabled after level reload 1 Answer
Make a Button Behave Like a Toggle 5 Answers