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.
| 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 |
| Name | Type | Usage |
|---|---|---|
| Target | UdonBehaviour | The UdonBehaviour to call Method on. |
| Method | string | The name of the Method to run on Target. |