コード例 #1
0
 protected void Awake()
 {
     eyesClosedCounter = 0;
     _eyexHost         = EyeXHost.GetInstance();
     _dataProvider     = _eyexHost.GetEyePositionDataProvider();
     eyesOpenedQueue   = new Queue <EyesOpened> ();
 }
コード例 #2
0
 protected void Awake()
 {
     Debug.Log("awake");
     this.eyexHost        = EyeXHost.GetInstance();
     this.dataProvider    = eyexHost.GetEyePositionDataProvider();
     this.eyesOpenedQueue = new Queue <EyesOpened> ();
 }
コード例 #3
0
    void Awake()
    {
        eyexHost = EyeXHost.GetInstance();
        gazePointDataProvider   = eyexHost.GetGazePointDataProvider(GazePointDataMode.LightlyFiltered);
        eyePositionDataProvider = eyexHost.GetEyePositionDataProvider();

        timeTillFirstDoorOpens    = 0.0f;       //9.0f;
        timeTillWallSoundStarts   = 0.0f;       //3.0f;
        timeTillWakeupSoundStarts = 0.0f;       //2.0f;
        timeEyesAreClosed         = 0.0f;
        blinkingLightCounter      = 0.0f;

        wakeupSoundPlayed             = false;
        openFirstDoorAnimationStarted = false;
        wallTriggerStarted            = false;
        wallSoundPlayed = false;


        // load the blinking lights
        blinkingLights = new ArrayList();
        blinkingLights.Add(GameObject.Find("Panel_Colored_01"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_02"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_03"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_04"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_05"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_06"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_07"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_08"));
        blinkingLights.Add(GameObject.Find("Panel_Colored_09"));
        currentBlinkingLightRemoved = false;

        Debug.Log("Awake: " + this.ToString());
    }
コード例 #4
0
ファイル: Level1.cs プロジェクト: Floppi003/pro4_EN
    void Awake()
    {
        eyexHost = EyeXHost.GetInstance();
        gazePointDataProvider   = eyexHost.GetGazePointDataProvider(GazePointDataMode.LightlyFiltered);
        eyePositionDataProvider = eyexHost.GetEyePositionDataProvider();

        timeTillWallSoundStarts = 0.0f;         //3.0f;
        timeEyesAreClosed       = 0.0f;
        blinkingLightCounter    = 0.0f;

        wakeupSoundPlayed             = false;
        openFirstDoorAnimationStarted = false;
        wallTriggerStarted            = false;
        waitForEyeClose = false;

        // load the blinking lights
        blinkingLights = new ArrayList();
        blinkingLights.Add(GameObject.Find("Panel_01"));
        blinkingLights.Add(GameObject.Find("Panel_02"));
        blinkingLights.Add(GameObject.Find("Panel_03"));
        blinkingLights.Add(GameObject.Find("Panel_04"));
        blinkingLights.Add(GameObject.Find("Panel_05"));
        blinkingLights.Add(GameObject.Find("Panel_06"));

        // set a deafult name for lastGazedWallLightName
        this.lastGazedWallLightName = "";
    }
コード例 #5
0
 protected void Awake()
 {
     _eyexHost     = EyeXHost.GetInstance();
     _dataProvider = _eyexHost.GetEyePositionDataProvider();
 }
コード例 #6
0
 protected void Awake()
 {
     _eyexHost = EyeXHost.GetInstance();
     _dataProvider = _eyexHost.GetEyePositionDataProvider();
 }
コード例 #7
0
 public void Awake()
 {
     _eyeXHost          = EyeXHost.GetInstance();
     _dataProvider      = _eyeXHost.GetEyePositionDataProvider();
     _gazePointProvider = _eyeXHost.GetGazePointDataProvider(GazePointDataMode.LightlyFiltered);
 }
コード例 #8
0
 public void Awake()
 {
     _eyeXHost = EyeXHost.GetInstance();
     _dataProvider = _eyeXHost.GetEyePositionDataProvider();
     _gazePointProvider = _eyeXHost.GetGazePointDataProvider(GazePointDataMode.LightlyFiltered);
 }