代码导出工具
This commit is contained in:
27
UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs
Normal file
27
UnityGame/Assets/Scripts/GameLogic/Export/UGUI/UIMainView.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user