28 lines
479 B
C#
28 lines
479 B
C#
|
// 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>();
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
}
|