UdonFlat does the opposite of UdonSharp. It takes Udon assembly as input, and generates equivalent and human-readable C# code with UdonSharp features.
UdonFlat can convert Udon Node Graph to C# code. It also works on other types of Udon assets imported in your Unity project, since VRCSDK automatically compiles them to Udon assembly.
This tool cannot extract Udon assembly from VRChat worlds.
UdonSharp is currently not required.
- Import this project into your Assets folder.
- Select a Udon asset, for example, a Udon graph.
- Click
UdonFlat/GenerateCode
from top menu or inspector dropdown. - A text file of generated code will pop up.