123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class ShowItemMoveToTargetPanel
- {
- #region 自定义数据
- private Image _moveIcon;
- public Image moveIcon
- {
- get{
- if (_moveIcon == null)
- {
- _moveIcon = GetUIUnit<Image>("moveIcon");
- }
- return _moveIcon;
- }
- }
- private RectTransform _root;
- public RectTransform root
- {
- get{
- if (_root == null)
- {
- _root = GetUIUnit<RectTransform>("root");
- }
- return _root;
- }
- }
- private RectTransform _moveTarget;
- public RectTransform moveTarget
- {
- get{
- if (_moveTarget == null)
- {
- _moveTarget = GetUIUnit<RectTransform>("moveTarget");
- }
- return _moveTarget;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|