cardboard-controls icon indicating copy to clipboard operation
cardboard-controls copied to clipboard

Triggering Delegates in custom code

Open JScott opened this issue 7 years ago • 0 comments

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.

JScott avatar Nov 06 '17 17:11 JScott