NeoFpsTouchVirtualAnalog MonoBehaviour
Overview
The NeoFpsTouchVirtualAnalog behaviour is used to define the activation region on the HUD for a virtual analog stick which emulates the sticks on a gamepad. This behaviour attaches to NeoFpsTouchScreenController behaviour in its parent hierarchy whilst enabled, which is what actually detects the touches and picks which control should handle them.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Priority | Integer | The priority this control should have in terms of appearing over another. Higher numbers will cover controls with lower priority. |
| Consume | Boolean | Should the touch input be consumed or fall through to the control underneath this. |
| Horizontal Axis | FpsInputAxis | The axis to apply the virtual analog stick's horizontal axis to. |
| Vertical Axis | FpsInputAxis | The axis to apply the virtual analog stick's vertical axis to. |
| Input Curve | AnimationCuve | A falloff curve for the input strength. The horizontal axis is the normalised distance of the touch from the center of the control. The vertical axis is the output strength. |
| Touch Marker Transform | RectTransform | A visual marker for the analog position that appears while touch is held. |
| Max Marker Distance | Float | The distance the marker should move from the center of the analog control when at full strength. |
| On Touch Started | UnityEvent | An event fired when the player first touches this control. |
| On Touch Ended | UnityEvent | An event fired when a touch that started on this control is released. |