1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user