Udon/ja: Difference between revisions

From VRChat Wiki
piсklеs (talk | contribs)
Created page with "== 公式リソース =="
piсklеs (talk | contribs)
Created page with "== 出典 =="
Line 102: Line 102:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="References"></span>
== References ==
== 出典 ==
</div>
{{reflist}}
{{reflist}}
<references/>
<references/>

Revision as of 12:47, 6 December 2026

表示 · 編集このページは VRChat 公式情報ページです!
このページは VRCWiki チームによって査読されたのち、承認されます。 このページへの貢献方法は貢献ガイドを読んでください。
Udonのロゴ

Udon is a C# derived high level object-oriented programming editor for the VRChat World SDK, created by the VRChat Development Team and released in 2020 for SDK2, then eventually SDK3.

An example of the Udon Node Graph interface, and a demonstration of its code. (Animated GIF)

Udon allows users to utilize the Udon Node Graph UI for visual scripting, and using 'noodles' to connect nodes together to create advanced scripts for Worlds. Users can also traditionally code, using UdonSharp (U#), which allows the use of limited C# syntax. Udon also compiles to its own bytecode known as Udon Assembly, which can be interpreted by the VRChat platform.

Udon is primarily used as a replacement for MonoBehaviors in Unity. Udon is designed to securely interface with the VRChat platform in a sandboxed environment, with a select set of approved operations to perform various actions, which can optionally be synced across the network. Udon covers a wide range of native C# and Unity operations, as well as VRChat specific operations that can be used to build advanced worlds and experiences in VRChat.

歴史

Udon Toolkit was originally announced on a blog post[1] on 2018年6月20日 and introduced as the "VRChat Node Graph", and was additionally discussed during a Developer Update video[2] on 2018年6月26日 to replace the "Playmaker" toolkit, on early versions of the world SDK.

Udon officially launched on 2020年4月1日 in an 'Open Alpha' state[3] with VRChat version 2020.1.1[4]. Users could upload worlds to VRChat using Udon scripts. In addition, VRChat also created a spotlight row in the World Menu, showcasing worlds utilizing Udon[5][6].

UdonSharp (U#)

UdonSharp, or U#, is a compiler that compiles subset of[7] C# into Udon's assembly code. UdonSharp was originally created as an open-source community project on 2020年2月7日[8], by developer Merlin, and contributed to by other creators[9]. UdonSharp is now on the official VRChat Open Source repository, and available in World SDK without installing any additional packages.

How to make an U# script[10]

You can create an UdonSharp script the project window or the hierarchy window by following the steps below.

In the Project window
  1. Right-click in your project's asset explorer.
  2. Navigate to "Create" > "U# script".
  3. Click "U# script". This will open a file creation dialog.
  4. Choose a name for your script and click "Save".
  5. This will create a .cs script file and an UdonSharp program asset that's set up for the script in the same directory.
In the Hierarchy window
  1. Create a new game object in your scene.
  2. Add an Udon Behaviour component to the object.
  3. Below the "New Program" button click the dropdown and select "Udon C# Program Asset".
  4. Now click the "New Program" button. This will create a new UdonSharp program asset for you.
  5. Click the "Create Script" button and choose a save destination and name for the script.

Udon 2 (Soba)

On 2022年12月15日, VRChat announced that their development team began working on a successor to Udon, which was given the working title of "Udon 2"[11]. The next update regarding Udon 2 would come on 2024年2月29日 with a mention of the performance benefits and additional features it would bring[12], and another update on 2024年3月14日 that showcased an example from the internal beta[13].

On 2024年11月25日, previous plans for Udon 2 were dropped, and a new project would take its place, termed Soba[14].

トリビア

  • "Udon" is a type of thick noodle, used in Japanese cuisine.

公式リソース

Community resources

A list of community guides can be found in its main article: Community:Udon Guides.

出典