Udon/pt-br: Difference between revisions

From VRChat Wiki
AcarajéNordestino (talk | contribs)
Created page with "Um exemplo da interface do Udon Node Graph e uma demonstração do seu código. ''(GIF Animado)''"
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
(14 intermediate revisions by 2 users not shown)
Line 8: Line 8:
== Visão geral ==
== Visão geral ==
[[File:VRChatSDK_UDON_Example.gif|thumb|Um exemplo da interface do Udon Node Graph e uma demonstração do seu código. ''(GIF Animado)'']]
[[File:VRChatSDK_UDON_Example.gif|thumb|Um exemplo da interface do Udon Node Graph e uma demonstração do seu código. ''(GIF Animado)'']]
<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
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.
O Udon permite que os usuários utilizem a interface de usuário '''Udon Node Graph''' para a criação visual de scripts, usando 'noodles' para conectar nós entre si e criar scripts avançados para [[Mundos]]. Os usuários também podem programar da maneira tradicional, usando o '''UdonSharp''' (U#), que permite o uso de uma sintaxe limitada de C#. O Udon também compila para seu próprio bytecode, conhecido como '''Udon Assembly''', que pode ser interpretado pela plataforma VRChat.
</div>
 
<div class="mw-translate-fuzzy">
O Udon é usado principalmente como substituto dos [https://docs.unity3d.com/ScriptReference/MonoBehaviour.html MonoBehaviors] no Unity. O Udon foi projetado para interagir com segurança com a plataforma VRChat em um ambiente sandbox, com um conjunto selecionado de operações aprovadas para realizar várias ações, que podem ser opcionalmente sincronizadas pela rede. O Udon abrange uma ampla gama de operações nativas do C# e do Unity, bem como operações específicas do VRChat que podem ser usadas para criar [[mundos]] e experiências avançadas no VRChat.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="History"></span>
Udon is primarily used as a replacement for [https://docs.unity3d.com/ScriptReference/MonoBehaviour.html 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.
== História ==
</div>  


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
== History ==
O Udon Toolkit foi anunciado originalmente em uma publicação no blog<ref>[https://medium.com/@vrchat/vrchat-node-graph-playmaker-and-soon-1a958672688d 'VRChat “Node Graph”, Playmaker, and Soon™'; recuperado em 6 de setembro de 2024.]</ref> em 20 de junho de 2018 e apresentado como "VRChat Node Graph", tendo sido adicionalmente discutido durante um vídeo de [[Atualização dos Desenvolvedores]]<ref>[https://www.youtube.com/watch?v=sst9GZAZBDU 'Atualização do Desenvolvimento do VRChat #4' no YouTube; recuperado em 6 de setembro de 2024.]</ref> em 26 de junho de 2018 para substituir o toolkit do ''"Playmaker"'', nas versões iniciais do SDK de mundo.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Udon Toolkit was originally announced on a blog post<ref>[https://medium.com/@vrchat/vrchat-node-graph-playmaker-and-soon-1a958672688d 'VRChat “Node Graph”, Playmaker, and Soon™'; retrieved September 6, 2024.]</ref> on June 20, 2018 and introduced as the "VRChat Node Graph", and was additionally discussed during a [[Developer Update]] video<ref>[https://www.youtube.com/watch?v=sst9GZAZBDU 'VRChat Developer Update #4' on YouTube; retrieved September 6, 2024.]</ref> on June 26, 2018 to replace the ''"Playmaker"'' toolkit, on early versions of the world SDK.
Udon officially launched on {{Date|April 1, 2020}} in an 'Open Alpha' state<ref>[https://medium.com/vrchat/introducing-vrchat-udon-unlocking-coding-for-creators-ce411a6390d1 'Introducing VRChat Udon: Unlocking Coding for Creators'] on ''Medium''; retrieved December 16, 2024</ref> with VRChat version 2020.1.1<ref>[https://docs.vrchat.com/docs/patch-notes-2020#vrchat-202011 VRChat 2020.1.1] on ''docs.vrchat.com''; retrieved December 16, 2024</ref>. 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<ref>[https://medium.com/vrchat/udon-alpha-spotlight-3bb5bb6c54f6 'Udon Alpha Spotlight'] on ''Medium''; retrieved December 16, 2024.</ref><ref>[https://web.archive.org/web/20210124123602/https://ask.vrchat.com/c/worlds/showcase/30 Archive (01/24/2020) - 'World Showcase' for Udon] on ''ask.vrchat.com'' via ''Archive.org''; retrieved December 16, 2024</ref>.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Udon officially launched on April 1, 2020 in an 'Open Alpha' state<ref>[https://medium.com/vrchat/introducing-vrchat-udon-unlocking-coding-for-creators-ce411a6390d1 'Introducing VRChat Udon: Unlocking Coding for Creators'] on ''Medium''; retrieved December 16, 2024</ref> with VRChat version 2020.1.1<ref>[https://docs.vrchat.com/docs/patch-notes-2020#vrchat-202011 VRChat 2020.1.1] on ''docs.vrchat.com''; retrieved December 16, 2024</ref>. 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<ref>[https://medium.com/vrchat/udon-alpha-spotlight-3bb5bb6c54f6 'Udon Alpha Spotlight'] on ''Medium''; retrieved December 16, 2024.</ref><ref>[https://web.archive.org/web/20210124123602/https://ask.vrchat.com/c/worlds/showcase/30 Archive (01/24/2020) - 'World Showcase' for Udon] on ''ask.vrchat.com'' via ''Archive.org''; retrieved December 16, 2024</ref>.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== UdonSharp (U#) ===
=== UdonSharp (U#) ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
UdonSharp, or U#, is a compiler that compiles C# into Udon's assembly code. UdonSharp was originally created as an [https://github.com/MerlinVR/UdonSharp open-source] community project on February 7, 2020<ref>[https://github.com/MerlinVR/UdonSharp/releases/tag/v0.1.0 '0.1.0 Initial release'] on ''github.com''; retrieved September 13, 2025.</ref>, by developer Merlin, and contributed to by other creators<ref>[https://hello.vrchat.com/blog/creator-toolbox-update 'Creator Toolbox Update'] on VRChat's Blog, at ''hello.vrchat.com''; retrieved September 13, 2025.</ref>. UdonSharp is now on the [https://github.com/vrchat-community/udonsharp official VRChat Open Source repository].
UdonSharp, or U#, is a compiler that compiles C# into Udon's assembly code. UdonSharp was originally created as an [https://github.com/MerlinVR/UdonSharp open-source] community project on {{Date|February 7, 2020}}<ref>[https://github.com/MerlinVR/UdonSharp/releases/tag/v0.1.0 '0.1.0 Initial release'] on ''github.com''; retrieved September 13, 2025.</ref>, by developer Merlin, and contributed to by other creators<ref>[https://hello.vrchat.com/blog/creator-toolbox-update 'Creator Toolbox Update'] on VRChat's Blog, at ''hello.vrchat.com''; retrieved September 13, 2025.</ref>. UdonSharp is now on the [https://github.com/vrchat-community/udonsharp official VRChat Open Source repository].
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="How_to_make_an_U#_script&#039;UdonSharp&#039;_on_creators.vrchat.com;_retrieved_September_13,_2025."></span>
==== How to make an U# script<ref>[https://creators.vrchat.com/worlds/udon/udonsharp 'UdonSharp'] on ''creators.vrchat.com''; retrieved September 13, 2025.</ref>====
<div class="mw-translate-fuzzy">
==== Como fazer um script U#<ref>[https://creators.vrchat.com/worlds/udon/udonsharp 'UdonSharp'] on ''creators.vrchat.com''; recuperado em 13 de setembro de 2025.</ref>====
</div>
</div>


Line 44: Line 42:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="In_the_Project_window"></span>
===== In the Project window =====
===== Na janela Projeto =====
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 56: Line 53:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="In_the_Hierarchy_window"></span>
===== In the Hierarchy window =====
===== Na janela Hierarquia =====
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 68: Line 64:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== Udon 2 (Soba) ===
=== Udon 2 (Soba) ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
On December 15, 2022, VRChat announced that their development team began working on a successor to Udon, which was given the working title of ''"Udon 2"''<ref>[https://ask.vrchat.com/t/developer-update-15-december-2022/15518 'Developer Update - 15 December 2022'; retrieved December 16, 2024.]</ref>. The next update regarding Udon 2 would come on February 29, 2024 with a mention of the performance benefits and additional features it would bring<ref>[https://ask.vrchat.com/t/developer-update-29-february-2024/23149 'Developer Update - 29 February 2024'; retrieved December 16, 2024.]</ref>, and another update on March 14, 2024 that showcased an example from the internal beta<ref>[https://ask.vrchat.com/t/developer-update-14-march-2024/23401 'Developer Update - 14 March 2024'; retrieved December 16, 2024.]</ref>.
On {{Date|December 15, 2022}}, VRChat announced that their development team began working on a successor to Udon, which was given the working title of ''"Udon 2"''<ref>[https://ask.vrchat.com/t/developer-update-15-december-2022/15518 'Developer Update - 15 December 2022'; retrieved December 16, 2024.]</ref>. The next update regarding Udon 2 would come on {{Date|February 29, 2024}} with a mention of the performance benefits and additional features it would bring<ref>[https://ask.vrchat.com/t/developer-update-29-february-2024/23149 'Developer Update - 29 February 2024'; retrieved December 16, 2024.]</ref>, and another update on {{Date|March 14, 2024}} that showcased an example from the internal beta<ref>[https://ask.vrchat.com/t/developer-update-14-march-2024/23401 'Developer Update - 14 March 2024'; retrieved December 16, 2024.]</ref>.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
On November 25, 2024, previous plans for Udon 2 were dropped, and a new project would take its place, termed [[Soba]]<ref>[https://ask.vrchat.com/t/developer-update-25-november-2024/28125 'Developer Update - 25 November 2024'; retrieved December 16, 2024.]</ref>.
On {{Date|November 25, 2024}}, previous plans for Udon 2 were dropped, and a new project would take its place, termed [[Special:MyLanguage/Soba|Soba]]<ref>[https://ask.vrchat.com/t/developer-update-25-november-2024/28125 'Developer Update - 25 November 2024'; retrieved December 16, 2024.]</ref>.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Trivia"></span>
== Trivia ==
== Curiosidade ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 88: Line 81:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Official_resources"></span>
==Official resources==
<div class="mw-translate-fuzzy">
==Recursos oficiais==
</div>
</div>


Line 98: Line 92:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
== Recursos da comunidade ==
== Community resources ==
''Uma lista de guias da comunidade pode ser encontrada no artigo principal:''
''A list of community guides can be found in its main article:'' [[Special:MyLanguage/Community:Udon Guides|Community:Udon Guides]].
[[Special:MyLanguage/Community:Udon Guides|Community:Udon Guides]].
* [https://github.com/vrchat-community/UdonSharp UdonSharp] on ''github.com''
* [https://github.com/vrchat-community/UdonSharp UdonSharp] no ''github.com''
</div>


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

Latest revision as of 21:03, 20 July 2026

V · EEsta é uma página oficial de informações do VRChat!
Ela é revisada e aprovada pela Equipe do VRCWiki. Saiba como contribuir para esta página lendo o Hub de Contribuição.
Logo do udon

Udon é um editor de programação orientada a objetos de alto nível, derivado de C#, para o SDK de Mundos do VRChat, criado pela Equipe de Desenvolvimento do VRChat e lançado em 2020 para o SDK2 e, posteriormente, para o SDK3.

Visão geral

Um exemplo da interface do Udon Node Graph e uma demonstração do seu código. (GIF Animado)

O Udon permite que os usuários utilizem a interface de usuário Udon Node Graph para a criação visual de scripts, usando 'noodles' para conectar nós entre si e criar scripts avançados para Mundos. Os usuários também podem programar da maneira tradicional, usando o UdonSharp (U#), que permite o uso de uma sintaxe limitada de C#. O Udon também compila para seu próprio bytecode, conhecido como Udon Assembly, que pode ser interpretado pela plataforma VRChat.

O Udon é usado principalmente como substituto dos MonoBehaviors no Unity. O Udon foi projetado para interagir com segurança com a plataforma VRChat em um ambiente sandbox, com um conjunto selecionado de operações aprovadas para realizar várias ações, que podem ser opcionalmente sincronizadas pela rede. O Udon abrange uma ampla gama de operações nativas do C# e do Unity, bem como operações específicas do VRChat que podem ser usadas para criar mundos e experiências avançadas no VRChat.

História

O Udon Toolkit foi anunciado originalmente em uma publicação no blog[1] em 20 de junho de 2018 e apresentado como "VRChat Node Graph", tendo sido adicionalmente discutido durante um vídeo de Atualização dos Desenvolvedores[2] em 26 de junho de 2018 para substituir o toolkit do "Playmaker", nas versões iniciais do SDK de mundo.

Udon officially launched on 1 de abril de 2020 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 C# into Udon's assembly code. UdonSharp was originally created as an open-source community project on 7 de fevereiro de 2020[7], by developer Merlin, and contributed to by other creators[8]. UdonSharp is now on the official VRChat Open Source repository.

Como fazer um script U#[9]

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

Na janela Projeto
  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.

Na janela Hierarquia
  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 15 de dezembro de 2022, VRChat announced that their development team began working on a successor to Udon, which was given the working title of "Udon 2"[10]. The next update regarding Udon 2 would come on 29 de fevereiro de 2024 with a mention of the performance benefits and additional features it would bring[11], and another update on 14 de março de 2024 that showcased an example from the internal beta[12].

On 25 de novembro de 2024, previous plans for Udon 2 were dropped, and a new project would take its place, termed Soba[13].

Curiosidade

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

Recursos oficiais

Recursos da comunidade

Uma lista de guias da comunidade pode ser encontrada no artigo principal: Community:Udon Guides.

Referências