Forum Discussion
YankiAkademi
4 years agoHonored Guest
How Can I Make a Button as Turn ON/OFF the Directional Light with C# in Unity.
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...
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 5 years agoAnonymous