Community:Udon Script Packs: Difference between revisions

From VRChat Wiki
m (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)
(reworked article, if you see this and got more to add, please do so. Especially if you use one of these packs a lot, thx.)
Line 1: Line 1:
{{Noticebox/community}}
{{Noticebox/community}}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.
Found here is a collection of Udon Graph Behaviours that cover all essentials to set up basic world interactions. They use [[Udon|Udon Graph]] and require no other dependencies other than the [[VRChat SDK]]. The Pack can be downloaded here:
 
== 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|Udon Graph]] and require no other dependencies other than the [[VRChat SDK]]. The Pack can be downloaded here:
<br>
<br>
https://github.com/Maebbie/Udon-Graph-Triggers
https://github.com/Maebbie/Udon-Graph-Triggers[[File:Udon Graph Triggers List.jpg|thumb|List of all Behaviours in this pack as seen in Unity|300x300px]][[File:Udon Graph Triggers Blended.jpg|none|thumb|All Behaviours of this Pack blended together]]
 
[[File:Udon Graph Triggers Blended.jpg|none|thumb|All Behaviours of this Pack blended together]]


==Functionality==
=== Functionality ===
[[File:Udon Graph Triggers List.jpg|thumb|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:
Each Behaviour acts as a single purpose trigger. To make this manageable they follow the following Naming Convention:
<br>
<br>
Line 16: Line 15:
<code>OnInteract - GameObject - Toggle</code> -> OnInteract-GameObject-Toggle.asset
<code>OnInteract - GameObject - Toggle</code> -> OnInteract-GameObject-Toggle.asset
<br>
<br>
<code>OnEnable  - GameObject - On</code>    -> OnEnable-GameObject-On.asset
<code>OnEnable  - GameObject - On</code>    -> OnEnable-GameObject-On.asset[[File:Udon Graph Triggers Node Layout.jpg|thumb|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.
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.
<br>
<br>
[[File:Udon Graph Triggers Program Source.jpg|border|frameless]]  
[[File:Udon Graph Triggers Program Source.jpg|border|frameless]]  
<br>
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.
 
== 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.
 
The Pack can be downloaded here: https://github.com/CyanLaser/CyanTrigger
[[File:CyanTrigger Interface.png|none|thumb|206x206px|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 :


==Node Layout==
The main repository can be found here: https://github.com/Varneon/VUdon
[[File:Udon Graph Triggers Node Layout.jpg|thumb|Highlighted here are how between very different Udon Graphs, nodes stay at their same coordinates]]
[[File:VUdon-Noclip.png|none|thumb|The Noclip extension is one part of VUdon]]


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.
== Udon Starter Kit ==
A collection of more advanced scripts: https://github.com/akalink/Udon-Starter-Kit


==More Udon Behaviour Packs==
It also comes with [https://garrett-mcpherson.gitbook.io/udon-starter-kit-wiki its own wiki] that details each script.
There are many similar packs available. These require UdonSharp or more additional dependencies however.


*[[Community:CyanTrigger|CyanTrigger]] - Uses a similar UI as SDK2 Triggers did: https://github.com/CyanLaser/CyanTrigger
== UdonToolkit ==
*[[Community:UdonToolkit|UdonToolkit]] - Purpose-built scripts made with Udon Sharp: https://github.com/orels1/UdonToolkit
Purpose-built scripts made with Udon Sharp: https://github.com/orels1/UdonToolkit
*[[Community:Udon Starter Kit|Udon Starter Kit]] - A collection of more advanced scripts: https://github.com/akalink/Udon-Starter-Kit
*[[Community:VUdon|VUdon]] - Dependency heavy collection of scripts with complex functionality: https://github.com/Varneon/VUdon
[[Category:Resources]]
[[Category:Resources]]
[[Category:Community Content]]
[[Category:Community Content]]

Revision as of 06:12, 3 August 2024

Template:Noticebox/communityFound 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.

The Pack 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