it was realy helpful, not can i just use it to toggle lights but also use the udonbehavior to toggle stuff off and on to make traps with :D
@celinaimusic10 ай бұрын
Thanks
@kaykaybotha4132 Жыл бұрын
Hi that cool now I understand why you world in vr is so beautiful, but when will you be online ??? Cant wait for more videos
@myneighborswifi Жыл бұрын
Thanks for checking out the video! As for being online, it's strictly when my work schedule allows lol
@kaykaybotha4132 Жыл бұрын
awww no problem ❤@@myneighborswifi
@ArticS7ar Жыл бұрын
how would i do this for mulitple lights at once
@myneighborswifi6 ай бұрын
You can do this for multiple lights by having the script control an empty game object that all the lights are a child to. Just make all the lights you want to control children of the empty game object in the hierarchy.
@alynefornever5 ай бұрын
that's great but how to make it off by default for everyone?
@myneighborswifi5 ай бұрын
To make the light(s) off by default, select the light(s) you want off in the hierarchy, go to the inspector for that/those light(s), and deselect the checkbox that is in the top left corner next to the game object name. Thanks for watching!
@akiraakiraakiraakira6 ай бұрын
will this switch off the lights for everyone in the world-instance, or only for the person who interact with the switch
@myneighborswifi6 ай бұрын
Only for the person who flips the switch
@SebZ56563 ай бұрын
Hi, i did some lighted rooms with this tutorial, but whenever i turn on the lights, some load incorrectly, like if some of the lights that are together are messing up, if i turn off the lights that are close, the room lights correctly, how can i fix this?
@myneighborswifi3 ай бұрын
You may have either too many real-time lights or have overlapping light ranges. First, check your light ranges and make sure the ranges aren't too large. If lights with overlapping ranges are too close, they can interfere with each other, causing some lights to be ignored or behave weird. After that, see if reducing the number of real-time lights fixes the issue. If there are too many lights in close proximity, it can cause some to be ignored. If that doesn't improve anything then I have no idea lol
@SebZ56563 ай бұрын
@@myneighborswifi rreducing the number helped, but the thing that really helped was the render mode, thx for the help!
@CyberRedJim1986 Жыл бұрын
So is this light switch function a local or global function for a world?
@myneighborswifi Жыл бұрын
The light switch function is definitely local lol If you want global functionality just add a "SendCustomNetworkEvent" node after the "Event Interact" node and then assign it to a "Custom Event" node that controls the rest of the script👍