Exemplo n.º 1
0
    public void OnAction()
    {
        if (eventSystem.CheckNextEvent(this.gameObject))
        {
            eventSystem.ExecuteNextEvent();
        }

        else
        {
            DoMyOwnAction();
        }
    }