Beispiel #1
0
    void Start()
    {
        Animal    = GetComponent <Ship_Animal>();
        Data      = GetComponent <Ship_LevelData>();
        CompBut   = GameObject.Find("CompBut");
        UserSight = GameObject.Find("UserSight");
        StartCoroutine(GameLoop());

        GazeManager.Instance.Activate(GazeManager.ApiVersion.VERSION_1_0, GazeManager.ClientMode.Push);

        // Register this class for events
        GazeManager.Instance.AddGazeListener(this);
    }
Beispiel #2
0
    //將應選擇的題目閃爍
    IEnumerator ShowTheQuiz()
    {
        yield return(StartCoroutine(Ship_Animal.shine(Quiz)));

        yield break;
    }