private void _OnCompletedDownload(IDownloadedItem wItem, object obj) { GameObject gameObject = NkUtil.FindOrCreate("BasePos"); if (gameObject) { UnityEngine.Object.DestroyImmediate(gameObject); } UnityEngine.Debug.Log(wItem.assetPath + "/" + Time.time); GameObject gameObject2 = wItem.mainAsset as GameObject; if (gameObject2 == null) { base.StartCoroutine(this.StartMapLoad(wItem.url)); } else { this.goClone = (GameObject)UnityEngine.Object.Instantiate(gameObject2, Vector3.zero, Quaternion.identity); if (TsPlatform.IsMobile && TsPlatform.IsEditor) { NrTSingleton <NkClientLogic> .Instance.SetEditorShaderConvert(ref this.goClone); } this._GetAnimationList(); gameObject = NkUtil.FindOrCreate("BasePos"); this.Awake(); this.goClone.transform.parent = gameObject.transform; if (null == this.maxCam) { return; } this.maxCam.target = this.goClone.transform; this.maxCam.minDistance = 0.1f; this.maxCam.maxDistance = 1000f; this.bFadeIn = true; } }