cardboard-controls
cardboard-controls copied to clipboard
Triggering Delegates in custom code
Similarly to Vive Grip, users have a need to trigger events outside of the normal scope of what kicks them off. For example, an external bluetooth device firing off the trigger command could expand what you can do with the Cardboard device.
Currently you can almost do this by just triggering the Delegate, e.g. cardboard.trigger.OnDown(this)
. However, there are a lot of side effects that happen in CardboardControlTrigger.cs that won't get fired this way.