VTIObjectToggle

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


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.

Driver Capabilities
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
Inputs
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