VTIRunMethod

From WaffleSlapper's Project Wiki
Revision as of 05:02, 14 February 2024 by Steeveeo (talk | contribs) (Initial driver page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


VTIRunMethod is a VTI Driver that will run a named method on a target UdonBehaviour using SendCustomEvent(). This method must be a public void method with no arguments.

User Messaging is supported by using SetProgramVariable() to attempt to set the string members UserName and Message on the target UdonBehaviour. If these members exist, they will be set and be available when the method is called.

Driver Capabilities
Supports User Messaging Yes - Message Data is sent to Target UdonBehaviour as Program Variables
Supports Dynamic Rebinding No special support added, but should not break when rebinding
Network Sync Triggers on all Clients, does not sync to new joiners
Inputs
Name Type Usage
Target UdonBehaviour The UdonBehaviour to call Method on.
Method string The name of the Method to run on Target.