Community:Udon Script Packs
Template:Noticebox/community
Found here is a collection of Udon Graph Behaviours that cover all essentials to set up basic world interactions. They use Udon Graph and require no other dependencies other than the VRChat SDK. The Pack can be downloaded here:
https://github.com/Maebbie/Udon-Graph-Triggers
Functionality
Each Behaviour acts as a single purpose trigger. To make this manageable they follow the following Naming Convention:
Event Type - Affecting - State
For Example:
OnInteract - GameObject - Toggle
-> OnInteract-GameObject-Toggle.asset
OnEnable - GameObject - On
-> OnEnable-GameObject-On.asset
Therefore each interaction only needs to be dragged to the "Program Source" field of the Udon Behaviour script to work. From there only the target/targets need to be selected.
Most scripts can be interchanged, without having to set its targets again.
Node Layout
Each script follows a standardized Node Layout. This means the Event Node has the same coordinates on all Behaviours. Same for other reoccurring nodes such as "Set Active" or the for loop node. This aims to help understand each behaviour better and potentially use it as a stepping stone to modify them.
More Udon Behaviour Packs
There are many similar packs available. These require UdonSharp or more additional dependencies however.
- CyanTrigger - Uses a similar UI as SDK2 Triggers did: https://github.com/CyanLaser/CyanTrigger
- UdonToolkit - Purpose-built scripts made with Udon Sharp: https://github.com/orels1/UdonToolkit
- Udon Starter Kit - A collection of more advanced scripts: https://github.com/akalink/Udon-Starter-Kit
- VUdon - Dependency heavy collection of scripts with complex functionality: https://github.com/Varneon/VUdon