-
Notifications
You must be signed in to change notification settings - Fork 0
Event System (Advanced)
ludos1978 edited this page Jun 28, 2018
·
1 revision
You can hook up individual controller events to any function by intercepting the controllers attached to the system. An example can be found in NetXr-Examples/Scripts/VrHandController.cs .
using NetXr;
// will call the function for all active input devices now, and make a callback for later added input devices
InputDeviceManager.Instance.AddCallbackForInputDevice(InitControllerCallback);