中
This commit is contained in:
@@ -6,8 +6,11 @@ using YooAsset;
|
||||
|
||||
public class UIManager : Singleton<UIManager>
|
||||
{
|
||||
Transform uiRoot;
|
||||
Dictionary<string, UIBaseWindow> openedWindows = new Dictionary<string, UIBaseWindow>();
|
||||
public void Init()
|
||||
{
|
||||
|
||||
}
|
||||
public void ShowWindow<T>(string windowName,Action<T> onShow = null) where T : UIBaseWindow
|
||||
{
|
||||
if (openedWindows.ContainsKey(windowName))
|
||||
@@ -36,7 +39,7 @@ public class UIManager : Singleton<UIManager>
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("δ<EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD>ڣ<EFBFBD>ʹ<EFBFBD>ô<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||
Debug.Log("未找到该名字窗口,使用窗口类名试试");
|
||||
}
|
||||
}
|
||||
public bool CheckShow(string windowName)
|
||||
|
||||
Reference in New Issue
Block a user