UdonToolbox for world creation [VRChat / Udon]
When I started with VRChat world creation I got upset about the complexity of some existing prefabs...so I created my own.
This toolbox contains some essential scripts and code requests I did.
Contained scripts:
- LocalTrigger (Graph / UdonSharp)
- SyncedTrigger (Graph / UdonSharp)
- SimpleInteract (UdonSharp)
- ColliderToggle (Graph / UdonSharp)
- RestrictedToggle (Graph / UdonSharp)
- PlayerTeleport (UdonSharp)
- KeyLock (UdonSharp)
- Clock (UdonSharp)
I’ll soon add Tutorials ! :3
You can contact me on Twitter @alexkoiyote or Discord: AlexOttr#3000 for the time being.
Also checkout my Patreon if you want to be integrated in the development process :3
This can be treated as a Pre-Release and will be extended over time. Some Udon Graph version might follow.
LocalTrigger
This script lets you toggle, turn off or on a list of GameObjects in unity. It works via Interaction or receiving events. It can also receive networked events if you don't care about late joiners / toggle states.
SyncedTrigger
Similar to the LocalTrigger but it synchronizes the state between all players on the world (including setting the state for all GameObjects for late joining players)
SimpleInteract
Not a big fan of Unity UI? Build your own simple buttons with this Script. Just put it on any GameObject with a collider and it lets you local or network events to any other UdonBehaviour (Graph or UdonSharp).
ColliderToggle
Remember the Mirror on the default VRChat Homeworld that only activates when you're close to it? This script will let you toggle GameObjects when you enter / leave a trigger collider.
RestrictedToggle
Any access restriction for your world? This script lets you add a list of users and only those (+optional world master) are able to use certain objects that you define.
PlayerTeleport
Doesn't matter if fancy staircase or door handle. This script lets you easily teleport the local player when he enters a collider or interacts with an object.
KeyLock
You can put this script on any GameObject that should act as a key. If it's close to a "Lock"-GameObject or touches the collider on it, it will "unlock" it and you can toggle a list of GameObjects with it or play an animation. I use it together with the PlayerTeleport to unlock a teleportation door :3
Clock
A very versatile clock script for the player local time or any time on the world ! You can set it up for 12/24h system, add seconds etc.
Changelog: GitHub
=== TOS ===
- Feel free to use and modify the script.
- Please do not resell the script as it is or claim you'd be the author.
- Credits are very welcomed but not necessary.
Thanks a lot for your support <3 Have fun with the script :3
All the scripts :3