Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
OnZAxisMovementStart Event
Example 
If default InputActions are enabled, then this event fires whenever the zAxisMovementInputAction ceases to be at rest.
Syntax
public event EventManager.ZAxisMovementStartAction OnZAxisMovementStart
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnZAxisMovementStart += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnZAxisMovementStart -= 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