75 lines
1.7 KiB
C#
75 lines
1.7 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using UnityEngine.UIElements;
|
|
using Button = UnityEngine.UI.Button;
|
|
using Image = UnityEngine.UI.Image;
|
|
|
|
public class UI_LevelSelectController : UIWindow
|
|
{
|
|
//UI GameObj
|
|
///Auto Gen Start///
|
|
public Button Button_Back;
|
|
public TMP_Text Text_Back;
|
|
public Button Button_Home;
|
|
public Image Image_ChapterBG;
|
|
public Image Image_LevelBG;
|
|
public Image Image_LevelTitle;
|
|
public TMP_Text Text_ChapterNum;
|
|
public TMP_Text Text_ChapterName;
|
|
public Image Image_ProcessBG;
|
|
public Image Image_LevelProcess;
|
|
public Image Image_ProcessBar;
|
|
public TMP_Text Text_StarNum;
|
|
public Image Image_Box01;
|
|
public TMP_Text Text_BoxStar01;
|
|
public Image Image_Box02;
|
|
public TMP_Text Text_BoxStar02;
|
|
public Image Image_Box03;
|
|
public TMP_Text Text_BoxStar03;
|
|
public TMP_Text Text_NoBoxNum01;
|
|
public TMP_Text Text_NoBoxNum02;
|
|
public TMP_Text Text_NoBoxNum03;
|
|
public Image Image_SelectBG;
|
|
public Button Button_Read;
|
|
public TMP_Text Text_Read;
|
|
public Button Button_Simple;
|
|
public TMP_Text Text_Simple;
|
|
public Button Button_Hard;
|
|
public TMP_Text Text_Hard;
|
|
public Image Image_WhiteRect;
|
|
public Image Image_Read;
|
|
public Image Image_Simple;
|
|
public Image Image_RedRect;
|
|
public Image Image_Hard;
|
|
|
|
///Auto Gen End///
|
|
|
|
// Use this for initialization
|
|
public override void OnAwake()
|
|
{
|
|
//bind UI GameObj
|
|
UI_LevelSelectBinder.GetComponents(this);
|
|
}
|
|
|
|
//invoke when open window
|
|
protected override void OnOpenWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when reload window
|
|
protected override void OnReloadWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when close window
|
|
protected override void OnCloseWindow(bool destroy = false)
|
|
{
|
|
|
|
}
|
|
}
|