Community:Udon Script Packs

From VRChat Wiki
Revision as of 19:02, 23 August 2024 by Arie² (talk | contribs) (Text replacement - "\[\[(?!(Special:|File:|Media:))([^\|\]]+)\|([^\]]+)\]\]" to "$3")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IconOnly CL Portal.png
V · ECommunity-written content
The following was created by the community. It may contain material not directly endorsed by the VRChat team. To learn more, consider reading Contributing to the VRChat Wiki.

Found here are a selection of different Udon Script Packs. These Packs each contain a sizable assortment of Udon Behavior Scripts. They all aim to help equip creators with a solid toolkit to integrate World Interactions.

Udon Graph Triggers

Udon Graph Triggers 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

List of all Behaviours in this pack as seen in Unity
All Behaviours of this Pack blended together

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

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

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

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.

CyanTrigger

CyanTrigger is an Udon compiler, that aims to resemble the old SDK2 Trigger UI. It also adds more functionality on top of it. It does so accessing Udon directly and interpreting it in a way easy to grasp for the user. It requires CyanTrigger to work, meaning triggers that are set up with it may not run without it.

It can be downloaded here: https://github.com/CyanLaser/CyanTrigger

CyanTrigger interface, resembling the one used with SDK2

VUdon

An extensive ecosystem of dependency-heavy Udon Scripts with complex functionality. The github found below serves as a repository linking to different Extensions of VUdon:

The main repository can be found here: https://github.com/Varneon/VUdon

The Noclip extension is one part of VUdon

Udon Starter Kit

A collection of more advanced scripts: https://github.com/akalink/Udon-Starter-Kit

It also comes with its own wiki that details each script.

UdonToolkit

Purpose-built scripts made with Udon Sharp: https://github.com/orels1/UdonToolkit