(Initial driver page.) |
No edit summary |
||
| Line 20: | Line 20: | ||
! Name !! Type !! Usage | ! Name !! Type !! Usage | ||
|- | |- | ||
| Target || GameObject || The GameObject to toggle on/off when Firing | | Target || GameObject || The GameObject to toggle on/off when Firing. | ||
|- | |- | ||
| UserNameText || TextMeshPro || The TMP object to populate with UserName and Verb text | | UserNameText || TextMeshPro || The TMP object to populate with UserName and Verb text. | ||
|- | |- | ||
| MessageText || TextMeshPro || The TMP object to populate with User Message text | | MessageText || TextMeshPro || The TMP object to populate with User Message text. | ||
|- | |- | ||
| ResetTime || float || How long to keep Target enabled for before disabling | | ResetTime || float || How long to keep Target enabled for before disabling. | ||
|} | |} | ||
Revision as of 04:52, 14 February 2024
VTIObjectToggle is a VTI Driver that will enable a target GameObject when fired, wait for a given amount of time, and then disable the target.
| Supports User Messaging | Yes |
| Supports Dynamic Rebinding | Yes - Appends Trigger Verb to UserName String |
| Network Sync | Triggers on all Clients, does not sync to new joiners |
| Name | Type | Usage |
|---|---|---|
| Target | GameObject | The GameObject to toggle on/off when Firing. |
| UserNameText | TextMeshPro | The TMP object to populate with UserName and Verb text. |
| MessageText | TextMeshPro | The TMP object to populate with User Message text. |
| ResetTime | float | How long to keep Target enabled for before disabling. |