AkiraPixelWind/Assets/Scripts/Main/UI/UIMgr/UIBaseList.cs
2022-12-29 18:20:40 +08:00

28 lines
479 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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<RectTransform>();
}
}