12345678910111213141516171819202122232425262728293031 |
- using System.Threading.Tasks;
- using UnityEngine;
- namespace Fort23.Mono
- {
- [UIBinding(prefab = "MainUIPanel" )]
- public partial class MainUIPanel : UIPanel
- {
- private void Init()
- {
- }
- protected override void AddEvent()
- {
- }
- protected override void DelEvent()
- {
- }
- public override void AddButtonEvent()
- {
- }
- private async Task InitBattleHero()
- {
- WidgetHero itemHero = await UIManager.Instance.CreateGComponent<WidgetHero>(null, poolName: "WuGongWidget");
- RectTransform rectTransform = hero_battle[0] as RectTransform;
- }
- }
- }
|