111
This commit is contained in:
@@ -150,8 +150,7 @@ namespace Stary.Evo.UIFarme
|
|||||||
{
|
{
|
||||||
if (panelParent == null)
|
if (panelParent == null)
|
||||||
{
|
{
|
||||||
Debug.LogError($"UnityEvo:parent为空,{panelName}无法创建,进程已中断,请检查!!!!!");
|
Debug.LogWarning($"UnityEvo:parent为空,{panelName}自动设置为root节点下,请检查是否正确!!!!!");
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.activePanel != null)
|
if (this.activePanel != null)
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ namespace Stary.Evo.UIFarme
|
|||||||
/// <param name="parent"></param>
|
/// <param name="parent"></param>
|
||||||
/// <param name="packageName">非热更模式传null</param>
|
/// <param name="packageName">非热更模式传null</param>
|
||||||
/// <typeparam name="T"></typeparam>
|
/// <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;
|
string panelName = typeof(T).Name;
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ namespace Stary.Evo.UIFarme
|
|||||||
/// <param name="parent"></param>
|
/// <param name="parent"></param>
|
||||||
/// <param name="packageName">非热更模式传null</param>
|
/// <param name="packageName">非热更模式传null</param>
|
||||||
/// <typeparam name="T"></typeparam>
|
/// <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;
|
string panelName = typeof(T).Name;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "com.staryevo.uifarme",
|
"name": "com.staryevo.uifarme",
|
||||||
"displayName": "06.UIFarme",
|
"displayName": "06.UIFarme",
|
||||||
"version": "1.0.15",
|
"version": "1.0.16",
|
||||||
"description": "UI模板框架工具",
|
"description": "UI模板框架工具",
|
||||||
"unity": "2021.3",
|
"unity": "2021.3",
|
||||||
"unityRelease": "30f1",
|
"unityRelease": "30f1",
|
||||||
|
|||||||
Reference in New Issue
Block a user