private void Awake() { Instance = this; unityWorldRatio = new Vector3(0.1f, 0.1f, 0.1f); markers = new List <GameObject>(); rsc = gameObject.AddComponent(typeof(GoogleAltitudeController)) as GoogleAltitudeController; }
private void Awake() { Instance = this; userWorldLocation = new Vector3(float.MinValue, float.MinValue, float.MinValue); rsc = gameObject.AddComponent(typeof(GoogleAltitudeController)) as GoogleAltitudeController; if (PlayerPrefs.HasKey(InternalDataController.GPSRefreshFreqSetting)) { refreshInterval = float.Parse(InternalDataController.loadValue(InternalDataController.GPSRefreshFreqSetting)); } }