表格相关逻辑修改和组件定义
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user