28 lines
652 B
C#
28 lines
652 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using CreatGame.UI;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
|
||
|
|
namespace CreatGame.UI
|
||
|
|
{
|
||
|
|
public class UIMainView : UIViewBase
|
||
|
|
{
|
||
|
|
/// <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>();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|