Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
OnInputActionStart Event
Example 
Fired by the InputActionManager when an InputAction has been detected.
Syntax
public event EventManager.InputStartAction OnInputActionStart
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnInputActionStart += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnInputActionStart -= myCustomListener;
    }
    
    void myCustomListener(InputAction action) {
        // Custom listener logic goes here.
    }
}
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback