12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SkillRoadWidget
- {
- #region 自定义数据
- private GameObject _ActiveRoot;
- public GameObject ActiveRoot
- {
- get{
- if (_ActiveRoot == null)
- {
- _ActiveRoot = GetUIUnit<GameObject>("ActiveRoot");
- }
- return _ActiveRoot;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private Text _Text_SkillName;
- public Text Text_SkillName
- {
- get{
- if (_Text_SkillName == null)
- {
- _Text_SkillName = GetUIUnit<Text>("Text_SkillName");
- }
- return _Text_SkillName;
- }
- }
- private MyImage _Icon_SkillIcon;
- public MyImage Icon_SkillIcon
- {
- get{
- if (_Icon_SkillIcon == null)
- {
- _Icon_SkillIcon = GetUIUnit<MyImage>("Icon_SkillIcon");
- }
- return _Icon_SkillIcon;
- }
- }
- private GameObject _Icon_Marsk;
- public GameObject Icon_Marsk
- {
- get{
- if (_Icon_Marsk == null)
- {
- _Icon_Marsk = GetUIUnit<GameObject>("Icon_Marsk");
- }
- return _Icon_Marsk;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|