Ejemplo n.º 1
0
    private void HighlighAction(int _action)
    {
        switch (_action)
        {
        case 1:     //go to calibration scene
            B_1.Select();
            currentSelection = 1;
            break;

        case 2:     // instantiate scoreboard
            B_2.Select();
            currentSelection = 2;
            break;

        case 3:     // go to tutorial scene
            B_3.Select();
            currentSelection = 3;
            break;

        case 4:     //quit
            B_4.Select();
            currentSelection = 4;
            break;

        default:
            Debug.LogError("NO ACTION ASSIGNED");
            break;
        }
    }