fix scripts not loading and build scene load order

This commit is contained in:
2023-06-16 21:25:44 -04:00
parent 8cd00cdaee
commit c7600c1a7b
95 changed files with 1853 additions and 63 deletions
@@ -185,7 +185,7 @@ public class ScreenResWindow : BaseWindow
int num;
if (this.dict.TryGetValue(obj, out num))
{
if (num == 0)
if (num == 0)
{
base.PlaySE_Cancel();
SceneManager.BackScene();
@@ -193,7 +193,8 @@ public class ScreenResWindow : BaseWindow
else if (num == 1)
{
Screen.SetResolution(1024, 576, false, 60);
}
}
else if (num == 2)
{
Screen.SetResolution(1280, 720, false, 60);
+2 -1
View File
@@ -200,7 +200,8 @@ public class UnityFile
if (Application.platform == RuntimePlatform.Android)
{
// On Android, use "jar:file://" URL to load file from StreamingAssets
url = ("jar:file://" + Application.dataPath + "!/assets" + m_szPath + m_szName + ".png").TrimStart('/');
//url = ("jar:file://" + Application.dataPath + "!/assets" + m_szPath + m_szName + ".png").TrimStart('/');
url = ("jar:file://" + Pathing.BaseContentPath.TrimEnd('/') + m_szPath + m_szName + ".png").TrimStart('/');
UnityEngine.Debug.LogWarning(url);
}
else