|
Hi folks, I'm currently designing a car game and have hit a snag. I've got several lights, all of the lights are attached to their own, seperate, empty gameobject. What i'm planning to do, is have the ability for the lights to be switched on/off with the touch of a GUI button, this is for Android. By default, the lights are off. I've tried a variety of scripts i've made, such as the one below: } Any ideas on this one please? Thanks, SWFlyerUK.
(comments are locked)
|
|
If bluelight is an emty game object with light component attached to it try with:
(comments are locked)
|
