Exemple #1
0
    void FingerGestures_OnFingerLongPress(int fingerIndex, Vector2 fingerPos)
    {
        GameObject selection = PickObject(fingerPos);

        if (selection == null)
        {
            return;
        }

        if (homeButton != null && selection.name.Equals(homeButton.name))
        {
            Debug.Log(selection);
            AGGameState.gotoDashboard();
        }
    }