This commit is contained in:
2026-04-21 23:02:51 +08:00
parent e6ff3d2c19
commit fbe6ca9605
100 changed files with 10668 additions and 19173 deletions
+12 -1
View File
@@ -7,6 +7,8 @@ using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using UnityEngine.Video;
public class GameManager : MonoSingleton<GameManager>
{
@@ -97,9 +99,18 @@ public class GameManager : MonoSingleton<GameManager>
}
// Start is called before the first frame update
public Button btn_Skip;
public VideoClip startVideoClip;
void Start()
{
UIManager.Instance.ShowAsync(UIPanel.LoginPanel,null,null,30);
var v = UIManager.Instance.ShowLoadPanel(startVideoClip);
UIManager.Instance.ShowAsync(UIPanel.LoginPanel,null,null,28);
btn_Skip.onClick.AddListener(() =>
{
UIManager.Instance.StopShowPanel(UIPanel.LoginPanel, null, null, 28);
UIManager.Instance.ShowAsync(UIPanel.LoginPanel, null, null, 0);
v.LoadBar(100);
});
}
// Update is called once per frame