12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class BackgroundPanel
- {
- #region 自定义数据
- private Button _Btn_BG;
- public Button Btn_BG
- {
- get{
- if (_Btn_BG == null)
- {
- _Btn_BG = GetUIUnit<Button>("Btn_BG");
- }
- return _Btn_BG;
- }
- }
- private RawImage _RawImage;
- public RawImage RawImage
- {
- get{
- if (_RawImage == null)
- {
- _RawImage = GetUIUnit<RawImage>("RawImage");
- }
- return _RawImage;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|