forked from MerlinVR/UdonSharp
-
Notifications
You must be signed in to change notification settings - Fork 51
Setup
Momo the Monster edited this page Mar 31, 2022
·
1 revision
Requirements
Installation
NOTE: This will be easier soon with the release of the VRChat Creator Companion. These notes are for the legacy ".unitypackage" format.
- Read the official Getting Started With Udon thread, this has basic installation instructions for Udon.
- Install the latest version of VRCSDK3 + Udon.
- Get the latest release of UdonSharp and install it in your project.
Getting started
- Make a new object in your scene
- Add an Udon Behaviour component to your object
- Below the "New Program" button click the dropdown and select "Udon C# Program Asset"
- Now click the New Program button, this will create a new UdonSharp program asset for you
- Click the Create Script button and choose a save destination and name for the script.
- This will create a template script that's ready for you to start working on, open the script in your editor of choice and start programming
Asset explorer asset creation
Instead of creating assets from an UdonBehaviour you can also do the following:
- Right-click in your project asset explorer
- Navigate to Create > U# script
- Click U# script, this will open a create file dialog
- Choose a name for your script and click Save
- This will create a .cs script file and an UdonSharp program asset that's set up for the script in the same directory