Community:Udon Script Packs

From VRChat Wiki
Revision as of 05:42, 3 August 2024 by Maebbie (talk | contribs) (Usr 6909a532-22e9-49f7-81e3-e964fe7dc00a moved page Community:Udon Graph Triggers to Community:Udon Script Packs: moved to better represent scope of these resources)

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

All Behaviours of this Pack blended together

Functionality

List of all Behaviours in this pack as seen in Unity

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.
Udon Graph Triggers Program Source.jpg
Most scripts can be interchanged, without having to set its targets again.

Node Layout

Highlighted here are how between very different Udon Graphs, nodes stay at their same coordinates

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.