111
This commit is contained in:
@@ -150,8 +150,7 @@ namespace Stary.Evo.UIFarme
|
||||
{
|
||||
if (panelParent == null)
|
||||
{
|
||||
Debug.LogError($"UnityEvo:parent为空,{panelName}无法创建,进程已中断,请检查!!!!!");
|
||||
return null;
|
||||
Debug.LogWarning($"UnityEvo:parent为空,{panelName}自动设置为root节点下,请检查是否正确!!!!!");
|
||||
}
|
||||
|
||||
if (this.activePanel != null)
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace Stary.Evo.UIFarme
|
||||
/// <param name="parent"></param>
|
||||
/// <param name="packageName">非热更模式传null</param>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public async Task PushQueue<T>(Transform parent,string packageName=null) where T : IBasePanel, new()
|
||||
public async Task PushQueue<T>(Transform parent=null,string packageName=null) where T : IBasePanel, new()
|
||||
{
|
||||
string panelName = typeof(T).Name;
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace Stary.Evo.UIFarme
|
||||
/// <param name="parent"></param>
|
||||
/// <param name="packageName">非热更模式传null</param>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public async Task PushStack<T>(Transform parent,string packageName=null) where T : IBasePanel, new()
|
||||
public async Task PushStack<T>(Transform parent=null,string packageName=null) where T : IBasePanel, new()
|
||||
{
|
||||
string panelName = typeof(T).Name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user