Example #1
0
 public override EyewearUserCalibrator GetUserCalibrator()
 {
     if (this.mCalibrator == null)
     {
         lock (this)
         {
             if (this.mCalibrator == null)
             {
                 this.mCalibrator = new EyewearUserCalibratorImpl();
             }
         }
     }
     return(this.mCalibrator);
 }
Example #2
0
 public override EyewearUserCalibrator GetUserCalibrator()
 {
     if (this.mCalibrator == null)
     {
         lock (this)
         {
             if (this.mCalibrator == null)
             {
                 this.mCalibrator = new PlayModeEyewearUserCalibratorImpl();
             }
         }
     }
     Debug.LogWarning("Usage of the EyewearUserCalibrator class is not supported in Play Mode");
     return(this.mCalibrator);
 }