26 lines
637 B
C#
26 lines
637 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace CreatGame.UI
|
|
{
|
|
public class UIMainView : UIViewBase
|
|
{
|
|
public override string PrefabPath => "Prefabs/UI/MainView";
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public Button StarBtn;
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public Text StarBtnText;
|
|
public override void PreLoad(GameObject view)
|
|
{
|
|
base.PreLoad(view);
|
|
|
|
StarBtn = GetGameObject(nameof(StarBtn)).GetComponent<Button>();
|
|
StarBtnText = GetGameObject(nameof(StarBtnText)).GetComponent<Text>();
|
|
}
|
|
}
|
|
}
|