1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SkillKongWidget
- {
- #region 自定义数据
- private MyImage _icon;
- public MyImage icon
- {
- get{
- if (_icon == null)
- {
- _icon = GetUIUnit<MyImage>("icon");
- }
- return _icon;
- }
- }
- private Image _myBg;
- public Image myBg
- {
- get{
- if (_myBg == null)
- {
- _myBg = GetUIUnit<Image>("myBg");
- }
- return _myBg;
- }
- }
- private RectTransform _RemovePos;
- public RectTransform RemovePos
- {
- get{
- if (_RemovePos == null)
- {
- _RemovePos = GetUIUnit<RectTransform>("RemovePos");
- }
- return _RemovePos;
- }
- }
- private Text _Text_Tips;
- public Text Text_Tips
- {
- get{
- if (_Text_Tips == null)
- {
- _Text_Tips = GetUIUnit<Text>("Text_Tips");
- }
- return _Text_Tips;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|