123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class OpenBoxScorePanel
- {
- #region 自定义数据
- 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_Ok;
- public Button Btn_Ok
- {
- get{
- if (_Btn_Ok == null)
- {
- _Btn_Ok = GetUIUnit<Button>("Btn_Ok");
- }
- return _Btn_Ok;
- }
- }
- private RectTransform _StartRoot;
- public RectTransform StartRoot
- {
- get{
- if (_StartRoot == null)
- {
- _StartRoot = GetUIUnit<RectTransform>("StartRoot");
- }
- return _StartRoot;
- }
- }
- private Text _Text_JingDu;
- public Text Text_JingDu
- {
- get{
- if (_Text_JingDu == null)
- {
- _Text_JingDu = GetUIUnit<Text>("Text_JingDu");
- }
- return _Text_JingDu;
- }
- }
- private Text _Text_Score;
- public Text Text_Score
- {
- get{
- if (_Text_Score == null)
- {
- _Text_Score = GetUIUnit<Text>("Text_Score");
- }
- return _Text_Score;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|