Skip to main content

Utility

Invoke

Used to send UdonEvents when a player interacts with an object.

  • Target-MethodPairs - List of UdonBehaviours along with the name of the event that will be triggered.

Invoke Script Example

TriggerInvoke

Used to send UdonEvents when a player enters a trigger.

  • Target-MethodPairs - List of UdonBehaviours along with the name of the event that will be triggered.

PickupInvoke

Used to send UdonEvents when a player uses a pickup.

  • Target-MethodPairs - List of UdonBehaviours along with the name of the event that will be triggered.

OpenGroupButton

Used to open an specific groups page when a player interacts with an object.

  • GroupIdentifier : string - identifier of the group you want to open.
note

To get the group identifier go to your group and copy the last part of the url that starts with grp_.

tip

You can call _OpenGroupPage to call it from a UI button.

GestureInvoke

A utility script used to perform different actions when a player does a certain gesture.

  • Require Trigger Pressed : bool - If the gesture requires the trigger button of the joystick pressed.
  • Gesture Type:
    • KeyPress - Triggers upon pressing an specific keyboard key.
    • Right/Left Joystick up/down seconds - Triggers upon having the stick holded for x amount of seconds.
    • Right/Left Joystyick up/down times - Triggers upon performing x amount of consecutive movements.
  • Times : int - Defines either time in seconds or amount of consecutive movements required to trigger.
  • GracePeriod : float - Acceptable time between consecutive movements..
  • Gesture Action:
    • Toggle - Toggles an object activestate.
    • TeleportObject - Teleports an object to the target location.
    • TeleportSelf - Teleport yourself to the target location.
  • Target Object : GameObject - The object that will be teleported/toggled.
  • Target Position:
    • Front
    • Right Hand
    • Left Hand
    • Custom
  • TPpoint : transform - Target point for the "Custom" target position option.
  • Progress Slider : slider - Optional Slider to show progress of the gesture completion.

AdminTablet Gesture

Collider Activator