12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SkillWidget
- {
- #region 自定义数据
- private MyImage _icon;
- public MyImage icon
- {
- get{
- if (_icon == null)
- {
- _icon = GetUIUnit<MyImage>("icon");
- }
- return _icon;
- }
- }
- private GameObject _Icon_Marsk;
- public GameObject Icon_Marsk
- {
- get{
- if (_Icon_Marsk == null)
- {
- _Icon_Marsk = GetUIUnit<GameObject>("Icon_Marsk");
- }
- return _Icon_Marsk;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|