mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
TE6 打飞机Demo
TE6 打飞机Demo
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using TEngine;
|
||||
|
||||
namespace GameLogic
|
||||
{
|
||||
[Window(UILayer.UI)]
|
||||
class BattleMainUI : UIWindow
|
||||
{
|
||||
#region 脚本工具生成的代码
|
||||
private RectTransform _rectContainer;
|
||||
private GameObject _itemTouch;
|
||||
private GameObject _goTopInfo;
|
||||
private GameObject _itemRoleInfo;
|
||||
private GameObject _itemMonsterInfo;
|
||||
protected override void ScriptGenerator()
|
||||
{
|
||||
_rectContainer = FindChildComponent<RectTransform>("m_rectContainer");
|
||||
_itemTouch = FindChild("m_rectContainer/m_itemTouch").gameObject;
|
||||
_goTopInfo = FindChild("m_goTopInfo").gameObject;
|
||||
_itemRoleInfo = FindChild("m_goTopInfo/m_itemRoleInfo").gameObject;
|
||||
_itemMonsterInfo = FindChild("m_goTopInfo/m_itemMonsterInfo").gameObject;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事件
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7732574955f8c1c4a90f8f1610853321
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user