SwipeEvents

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void Start()
    {
        // Disable swipe field events
        VInput.SwipeEvents = false;
    }

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

Activates or deactivates swipe field input events in VolplaneBehaviour. This switch affects only the message / event system. Swipe fields can still be accessed through methods from VInput (e.g. GetSwipeVector()).