12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class BossHpWidget
- {
- #region 自定义数据
- private GameObject _HeroHpWidget;
- public GameObject HeroHpWidget
- {
- get{
- if (_HeroHpWidget == null)
- {
- _HeroHpWidget = GetUIUnit<GameObject>("HeroHpWidget");
- }
- return _HeroHpWidget;
- }
- }
- private GameObject _gf_widget;
- public GameObject gf_widget
- {
- get{
- if (_gf_widget == null)
- {
- _gf_widget = GetUIUnit<GameObject>("gf_widget");
- }
- return _gf_widget;
- }
- }
- private RectTransform _SkillRoot;
- public RectTransform SkillRoot
- {
- get{
- if (_SkillRoot == null)
- {
- _SkillRoot = GetUIUnit<RectTransform>("SkillRoot");
- }
- return _SkillRoot;
- }
- }
- private GameObject _MagicWeaponWidget;
- public GameObject MagicWeaponWidget
- {
- get{
- if (_MagicWeaponWidget == null)
- {
- _MagicWeaponWidget = GetUIUnit<GameObject>("MagicWeaponWidget");
- }
- return _MagicWeaponWidget;
- }
- }
- private RectTransform _FaBaoRoot;
- public RectTransform FaBaoRoot
- {
- get{
- if (_FaBaoRoot == null)
- {
- _FaBaoRoot = GetUIUnit<RectTransform>("FaBaoRoot");
- }
- return _FaBaoRoot;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|