فهرست منبع

Merge branch 'master' of https://github.com/Hex-Dragon/GMTK2022

龙腾猫跃 4 سال پیش
والد
کامیت
aae320aad6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Assets/Resources/UI/SelectLanguage.cs

+ 1 - 1
Assets/Resources/UI/SelectLanguage.cs

@@ -63,7 +63,7 @@ public class SelectLanguage : MonoBehaviour, IPointerClickHandler
     }
     }
 
 
     IEnumerator LoadScene() {
     IEnumerator LoadScene() {
-        AsyncOperation asyncLoad = SceneManager.LoadSceneAsync("SceneMain", LoadSceneMode.Additive);
+        AsyncOperation asyncLoad = SceneManager.LoadSceneAsync("SceneMain");
         // Wait until the asynchronous scene fully loads
         // Wait until the asynchronous scene fully loads
         while (!asyncLoad.isDone) {
         while (!asyncLoad.isDone) {
             yield return null;
             yield return null;