Exemplo n.º 1
0
    /// <summary>
    /// Raises the tap ended event for the tapped input block.
    /// </summary>
    /// <param name='touchPos'>
    /// Touch position.
    /// </param>
    protected void OnTapEnded(Vector2 touchPos)
    {
        InputBlock block = GetInputBlock(touchPos);

        if (block != null)
        {
            block.OnTapEnded(touchPos);
        }
    }