public override EyewearUserCalibrator GetUserCalibrator() { if (this.mCalibrator == null) { lock (this) { if (this.mCalibrator == null) { this.mCalibrator = new EyewearUserCalibratorImpl(); } } } return(this.mCalibrator); }
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); }