using UdonSharp; using VRC.SDKBase; using VRC.Udon; | using StageTime.SDK; |
UdonSharpBehaviour | StageTimeBehaviour |
[UdonSynced] | [Synced] |
[UdonBehaviourSyncMode(...)] + RequestSerialization() | not needed: changes are sent automatically (RequestSerialization() still compiles) |
VRCPlayerApi | StageTimePlayer |
Networking.LocalPlayer, IsMaster, IsOwner, GetOwner, SetOwner | same |
Networking.GetServerTimeInSeconds() / ...InMilliseconds() | same, plus GetServerTick() and GetTickRate() |
Utilities.IsValid | same |
NetworkEventTarget.All / Owner | same, plus Others and Self |
SendCustomEvent, SendCustomNetworkEvent, SendCustomEventDelayedSeconds / Frames | same |
GetProgramVariable / SetProgramVariable | same |
Interact, OnDeserialization, OnPlayerJoined / Left, OnOwnershipTransferred | same |
OnPickup, OnDrop, OnPickupUseDown / Up | same |
OnStationEntered / Exited | OnSeatEntered / OnSeatExited |
OnPlayerTriggerEnter / Exit | same |
InteractionText, DisableInteractive | same |
VRC_SceneDescriptor | ST World |
VRC_Pickup + VRC_ObjectSync | ST Pickup (always synced) |
VRCStation (UseStation, ExitStation, stationEnterPlayerLocation, …) | ST Seat (Sit, StandUp, enterLocation, …) |
VRCUnityVideoPlayer (PlayURL, Pause, SetTime, OnVideoStart, …) | ST Video Player: synced by StageTime (no owner sync script), direct .mp4 links only |
VRC_MirrorReflection | ST Mirror |
VRC_SpatialAudioSource (Gain, EnableSpatialization, …) | ST Spatial Audio Source (gain, spatialize, roomAcoustics, reverbSend, volumetricRadius); distance falloff comes from the Audio Source's own 3D settings |
VRC_UiShape | added automatically to canvases with buttons |
| UdonBehaviour component + program asset | just your script component |
Button → UdonBehaviour.SendCustomEvent("Name") | Button → YourScript.Name directly |
| Build & Test | StageTime SDK → Build Window |
| ClientSim | local preview (single player, plain C#) |