cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I Make a Button as Turn ON/OFF the Directional Light with C# in Unity.

YankiAkademi
Honored Guest

Hey.

Currently, I'm making a simple vr game in unity. But i dont know how can i make input for Turn ON/OFF the lights with C# or another way.

For example: when i press the A Button on my Oculus Controller, i want to the lights go turn on and when i press again the lights go turn off.

Can you help me?

Thanks...

0 REPLIES 0