表格相关逻辑修改和组件定义

This commit is contained in:
2025-08-25 00:10:04 +08:00
parent 5ca8118694
commit e41fd7dd2d
136 changed files with 962 additions and 981 deletions

View File

@@ -3,6 +3,8 @@
using FairyGUI;
using UnityEngine;
using NBC;
using NBC.Entitas;
using NBF.Fishing2;
using UIPanel = NBC.UIPanel;
namespace NBF
@@ -18,7 +20,12 @@ namespace NBF
{
if (btn == BtnLogin)
{
LoginHelper.Login(InputAccount.text).Coroutine();
var unitGameObject = new GameObject("Unit");
var unit = Entity.Create<Unit>(App.Main, true, true);
var unitUnity = unit.AddComponent<UnitUnityComponent>();
unitUnity.SetGameObject(unitGameObject);
// App.Main.add
// LoginHelper.Login(InputAccount.text).Coroutine();
}
}
}