123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class BtnFaBaoWidget
- {
- #region 自定义数据
- private RectTransform _FaBaoRoot;
- public RectTransform FaBaoRoot
- {
- get{
- if (_FaBaoRoot == null)
- {
- _FaBaoRoot = GetUIUnit<RectTransform>("FaBaoRoot");
- }
- return _FaBaoRoot;
- }
- }
- private Object _Text_Tips;
- public Object Text_Tips
- {
- get{
- if (_Text_Tips == null)
- {
- _Text_Tips = GetUIUnit<Object>("Text_Tips");
- }
- return _Text_Tips;
- }
- }
- private RedDotWidgetType01 _RedDotComType01;
- public RedDotWidgetType01 RedDotComType01
- {
- get{
- if (_RedDotComType01 == null)
- {
- _RedDotComType01 = GetUIUnit<RedDotWidgetType01>("RedDotComType01");
- }
- return _RedDotComType01;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|