1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class CombatPanel
- {
- #region 自定义数据
- private Slider _CameraSelect;
- public Slider CameraSelect
- {
- get{
- if (_CameraSelect == null)
- {
- _CameraSelect = GetUIUnit<Slider>("CameraSelect");
- }
- return _CameraSelect;
- }
- }
- private Button _bnt_shengShi;
- public Button bnt_shengShi
- {
- get{
- if (_bnt_shengShi == null)
- {
- _bnt_shengShi = GetUIUnit<Button>("bnt_shengShi");
- }
- return _bnt_shengShi;
- }
- }
- private Text _huoValue;
- public Text huoValue
- {
- get{
- if (_huoValue == null)
- {
- _huoValue = GetUIUnit<Text>("huoValue");
- }
- return _huoValue;
- }
- }
- private Text _shuiValue;
- public Text shuiValue
- {
- get{
- if (_shuiValue == null)
- {
- _shuiValue = GetUIUnit<Text>("shuiValue");
- }
- return _shuiValue;
- }
- }
- private Text _tuValue;
- public Text tuValue
- {
- get{
- if (_tuValue == null)
- {
- _tuValue = GetUIUnit<Text>("tuValue");
- }
- return _tuValue;
- }
- }
- private Text _muValue;
- public Text muValue
- {
- get{
- if (_muValue == null)
- {
- _muValue = GetUIUnit<Text>("muValue");
- }
- return _muValue;
- }
- }
- private Text _jingValue;
- public Text jingValue
- {
- get{
- if (_jingValue == null)
- {
- _jingValue = GetUIUnit<Text>("jingValue");
- }
- return _jingValue;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|