AkiraPixelWind/Assets/Scripts/Main/UI/UIMgr/UIBaseList.cs

28 lines
479 B
C#
Raw Permalink Normal View History

2022-12-29 18:20:40 +08:00
// Author: whc
// Desc: <20><><EFBFBD>б<EFBFBD><D0B1><EFBFBD>UIbase
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIBaseList : UIBase
{
public Transform m_TfUnits;
public RectTransform m_ContentRectTf;
public override void Awake()
{
base.Awake();
m_TfUnits = transform.Find("list/Viewport/Content");
m_ContentRectTf = m_TfUnits.GetComponent<RectTransform>();
}
}