DPadEvents

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void Start()
    {
        // Disable dpad events
        VInput.DPadEvents = false;
    }

    void OnDPad(int playerId, string elementName, Vector2 axis)
    {
        // This event will not fire...
        Debug.Log("Test output!");
    }
}

Activates or deactivates dpad input events in VolplaneBehaviour. This switch affects only the message / event system. DPads can still be accessed through methods from VInput (e.g. GetAxis()).