예제 #1
0
 // Public functions
 public void SetCurrentLightGazeToObject(Transform transIn, bool reset)
 {
     currentLightGaze = transIn;
     currentLight.SetCurrentObject(transIn);
     currentLight.SetGazeTypeReset(LookAt.LookTypes.stareAtObject);
     currentLight.SetGazeTypeCurrent(LookAt.LookTypes.stareAtObject);
     if (reset)
     {
         StartCoroutine(StopStaringAtObject(currentLight));
     }
 } // Calls private coroutine StopStaringAtObject() if(reset)