Skip to content

TsukimiSharp Reference

TsukimiSharp is a subset of C# that compiles to Udon, which runs inside VRChat worlds.

PageContents
SetupInstalling from VCC or ALCOM, your first script, and the samples
PageContents
Udon’s execution modelHow it runs on Udon, and why the constraints exist
Program shapeFile layout, namespaces, visibility, name resolution
EventsList of events the runtime calls
Initialization and execution orderInitializers, declaration order, up to the first event
PageContents
Lexical structure and literalsAll forms of numeric and string literals
TypesTypes you can use (section below)
ConversionsWhich conversions are allowed, type tests, boxing
Variables and how arguments are passedKinds of variables, ref / out / in, definite assignment
MembersAll forms of members you can declare
Control flowBranching, loops, statement structure
ExpressionsOperators, strings, null handling, primary expressions
PatternsAll pattern forms and exhaustiveness
NumericsValues on overflow, conversions that halt
null and referencesSources of null and how to handle it safely
AttributesList of attributes that have meaning to the runtime
Extension methodsHow to write static helpers
PreprocessorDirectives you can use
PageContents
Working with other componentsGetting, calling, referencing
SyncSynced variables, ownership, events
KernelsRunning computation on the GPU, forms you can write inside a kernel
Running kernelsBuffers, execution, retrieving results
PageContents
ErrorsLook up by error number
List of boundariesMechanisms that don’t exist, and how they get rejected