//回転ON void RotateOn(AdvCommandSendMessage command) { if (!WrapperUnityVersion.TryParseFloatGlobal(command.Arg2, out rotSpped)) { rotSpped = 15; } //演出としてカメラを回す StartCoroutine("CoRotate3D"); }
//キャッシュクリアして最初のシーンを起動 public virtual void OnTapReDownload() { AssetFileManager.GetInstance().AssetBundleInfoManager.DeleteAllCache(); if (string.IsNullOrEmpty(bootSceneName)) { WrapperUnityVersion.LoadScene(0); } else { WrapperUnityVersion.LoadScene(bootSceneName); } }
//キャッシュクリアして最初のシーンを起動 public void OnTapReDownload() { AssetFileManager.DeleteCacheFileAll(); if (string.IsNullOrEmpty(bootSceneName)) { WrapperUnityVersion.LoadScene(0); } else { WrapperUnityVersion.LoadScene(bootSceneName); } }
/// IEnumerator CoUpdate() { #if UNITY_5_3_OR_NEWER if (isWaitSplashScreen) { while (!WrapperUnityVersion.IsFinishedSplashScreen()) { yield return(null); } } #endif //BGMなどを鳴らすために追加 Open(); if (fadeTextureStream) { fadeTextureStream.gameObject.SetActive(true); fadeTextureStream.Play(); while (fadeTextureStream.IsPlaying) { yield return(null); } } if (isWaitBoot) { while (Engine.IsWaitBootLoading) { yield return(null); } } this.Close(); if (isWaitDownLoad && loadWait != null) { loadWait.OpenOnBoot(); } else { title.Open(); } }