111
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 5s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 7s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 11s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 5s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 36s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 3s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 4s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 20s
Plugin Library CI / publish (07.RKTools) (push) Successful in 4s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 4s
Plugin Library CI / publish (12.WeixinMinigame) (push) Successful in 1m9s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 18s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 4s

This commit is contained in:
2026-05-15 19:43:50 +08:00
parent 7ae6257cae
commit 67614bab31
3 changed files with 13 additions and 9 deletions

View File

@@ -139,8 +139,9 @@ namespace Stary.Evo.UIFarme
nextPanel = new T();
nextPanel.UIName = panelName;
await nextPanel.InitializeAsync(this);
if (!string.IsNullOrEmpty(nextPanel.UIPath))
nextPanel.SetPanelParent(GameObject.Find(nextPanel.UIPath).transform);
GameObject parentGo = GameObject.Find(nextPanel.UIPath);
if (!string.IsNullOrEmpty(nextPanel.UIPath) && parentGo)
nextPanel.SetPanelParent(parentGo.transform);
GameObject panelGo = await nextPanel.CreatePanel(panelName, packageName);
///生成面板后,进行初始化操作
await nextPanel.InitializeAsync(panelGo);
@@ -186,8 +187,9 @@ namespace Stary.Evo.UIFarme
nextPanel = new T();
nextPanel.UIName = panelName;
await nextPanel.InitializeAsync(this);
if (!string.IsNullOrEmpty(nextPanel.UIPath))
nextPanel.SetPanelParent(GameObject.Find(nextPanel.UIPath).transform);
GameObject parentGo = GameObject.Find(nextPanel.UIPath);
if (!string.IsNullOrEmpty(nextPanel.UIPath) && parentGo)
nextPanel.SetPanelParent(parentGo.transform);
GameObject panelGo = await nextPanel.CreatePanel(panelName, packageName);
///生成面板后,进行初始化操作
await nextPanel.InitializeAsync(panelGo);

View File

@@ -136,8 +136,9 @@ namespace Stary.Evo.UIFarme
{
nextPanel = new T();
await nextPanel.InitializeAsync(this);
if (!string.IsNullOrEmpty(nextPanel.UIPath))
nextPanel.SetPanelParent(GameObject.Find(nextPanel.UIPath).transform);
GameObject parentGo = GameObject.Find(nextPanel.UIPath);
if (!string.IsNullOrEmpty(nextPanel.UIPath) && parentGo)
nextPanel.SetPanelParent(parentGo.transform);
nextPanel.TweenType = tweenType;
GameObject panelGo = await nextPanel.CreatePanel(packageName, nextPanel.UIName);
///生成面板后,进行初始化操作
@@ -183,8 +184,9 @@ namespace Stary.Evo.UIFarme
{
nextPanel = new T();
await nextPanel.InitializeAsync(this);
if (!string.IsNullOrEmpty(nextPanel.UIPath))
nextPanel.SetPanelParent(GameObject.Find(nextPanel.UIPath).transform);
GameObject parentGo = GameObject.Find(nextPanel.UIPath);
if (!string.IsNullOrEmpty(nextPanel.UIPath) && parentGo)
nextPanel.SetPanelParent(parentGo.transform);
GameObject panelGo = await nextPanel.CreatePanel(packageName, nextPanel.UIName);
///生成面板后,进行初始化操作
await nextPanel.InitializeAsync(panelGo);

View File

@@ -1,6 +1,6 @@
{
"name": "com.staryevo.main",
"version": "2.1.20",
"version": "2.2.0",
"displayName": "00.StaryEvo",
"description": "This is an Framework package(后台服务器版本端口9527)",
"unity": "2021.3",