1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class ImmortalBondPanel
- {
- #region 自定义数据
- private Text _Text_Count;
- public Text Text_Count
- {
- get{
- if (_Text_Count == null)
- {
- _Text_Count = GetUIUnit<Text>("Text_Count");
- }
- return _Text_Count;
- }
- }
- private RectTransform _JiachengContent;
- public RectTransform JiachengContent
- {
- get{
- if (_JiachengContent == null)
- {
- _JiachengContent = GetUIUnit<RectTransform>("JiachengContent");
- }
- return _JiachengContent;
- }
- }
- private RectTransform _Content1;
- public RectTransform Content1
- {
- get{
- if (_Content1 == null)
- {
- _Content1 = GetUIUnit<RectTransform>("Content1");
- }
- return _Content1;
- }
- }
- private RectTransform _Content2;
- public RectTransform Content2
- {
- get{
- if (_Content2 == null)
- {
- _Content2 = GetUIUnit<RectTransform>("Content2");
- }
- return _Content2;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private Button _Btn_Remove;
- public Button Btn_Remove
- {
- get{
- if (_Btn_Remove == null)
- {
- _Btn_Remove = GetUIUnit<Button>("Btn_Remove");
- }
- return _Btn_Remove;
- }
- }
- private Button _Btn_Add;
- public Button Btn_Add
- {
- get{
- if (_Btn_Add == null)
- {
- _Btn_Add = GetUIUnit<Button>("Btn_Add");
- }
- return _Btn_Add;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|