// Author: whc // Desc: ´øÁбíµÄ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(); } }