123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- 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 MyImage _myBg;
- public MyImage myBg
- {
- get{
- if (_myBg == null)
- {
- _myBg = GetUIUnit<MyImage>("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;
- }
- }
- private RectTransform _InfoPos;
- public RectTransform InfoPos
- {
- get{
- if (_InfoPos == null)
- {
- _InfoPos = GetUIUnit<RectTransform>("InfoPos");
- }
- return _InfoPos;
- }
- }
- private RectTransform _Icon_YingXiang;
- public RectTransform Icon_YingXiang
- {
- get{
- if (_Icon_YingXiang == null)
- {
- _Icon_YingXiang = GetUIUnit<RectTransform>("Icon_YingXiang");
- }
- return _Icon_YingXiang;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|