技能主要更新,修复卡顿并加入动画,以及各种其他更新。

This commit is contained in:
FloatGaming
2026-02-07 21:05:17 +08:00
parent abeca51be5
commit 1ac3cd0104
1349 changed files with 1526749 additions and 24850 deletions
@@ -23,10 +23,19 @@ public class back_toPreviousPage : MonoBehaviour
public void backto_PreviousPage()
{
SceneManager.LoadScene(scene_turn_to_previous_scene);
StartCoroutine(LoadSceneAsync(scene_turn_to_previous_scene));
}
public void backto_homePage()
{
SceneManager.LoadScene(homePage_sceneName_to_turn);
StartCoroutine(LoadSceneAsync(homePage_sceneName_to_turn));
}
private IEnumerator LoadSceneAsync(string sceneName)
{
AsyncOperation asyncLoad = SceneManager.LoadSceneAsync(sceneName);
while (!asyncLoad.isDone)
{
yield return null;
}
}
}