-
-
Notifications
You must be signed in to change notification settings - Fork 89
Events
PhaxeNor edited this page May 1, 2020
·
18 revisions
These are the method stubs available for Unity events.
Name |
---|
FixedUpdate |
LateUpdate |
OnAnimatorIK |
OnAnimatorMove |
These are the method stubs you can override via UdonSharpBehaviour
.
public override void <method>() {}
Name | |
---|---|
Interact | Fired when a user interacts with the object Will add a box collider if no collider is present. |
OnDrop | Requires VRC_Pickup |
OnOwnershipTransferred | Fired every time a UdonBehaviour changes owner |
OnPickup | Requires VRC_Pickup |
OnPickupUseDown | Requires VRC_Pickup |
OnPickupUseUp | Requires VRC_Pickup |
OnPlayerJoined(VRCPlayerApi) | Fired when a new player joins the instance |
OnPlayerLeft(VRCPlayerApi) | Fired when a player leaves the instance |
OnSpawn | Fired when a object is spawned via network instantiation |
OnStationEntered | Requires VRC_Station |
OnStationExited | Requires VRC_Station |
OnVideoEnd | No video player support yet |
OnVideoPause | No video player support yet |
OnVideoPlay | No video player support yet |
OnVideoStart | No video player support yet |
OnPreSerialization | Fired before sending network data |
OnDeserialization | Fired when network data is received |