84 lines
1.8 KiB
C#
84 lines
1.8 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;
|
|
using Toggle = UnityEngine.UI.Toggle;
|
|
using ScrollView = PhxhSDK.PhxhScrollView;
|
|
using Framework;
|
|
|
|
public class UIStoryFightMainController : UIWindow
|
|
{
|
|
//UI GameObj
|
|
///Auto Gen Start///
|
|
public Image Image_TalkBubble;
|
|
public Image Image_FrontPic;
|
|
public Image Image_TalkBG01;
|
|
public TMP_Text Text_Talk01;
|
|
public Image Image_PlotBG;
|
|
public Image Image_2DBg;
|
|
public Button Button_Interact;
|
|
public Button Button_Hide;
|
|
public Button Button_Log;
|
|
public Button Button_Screen;
|
|
public Image Image_Auto;
|
|
public Button Button_Auto;
|
|
public TMP_Text Text_Auto;
|
|
public Button Button_ExitAuto;
|
|
public TMP_Text Text_ExitAuto;
|
|
public Button Button_Skip;
|
|
public TMP_Text Text_Skip;
|
|
public Image Image_ChapterTalkBG;
|
|
public TMP_Text Text_Name;
|
|
public Image Image_WhiteLine;
|
|
public TMP_Text Text_Content;
|
|
public Image Image_one;
|
|
public Button Button_LogClose;
|
|
public TMP_Text Text_Title;
|
|
public Image Image_mask;
|
|
public Button Button_PlotChoose;
|
|
public Button Button_PlotChoose1;
|
|
|
|
///Auto Gen End///
|
|
|
|
// deal with input data
|
|
public override void PreLoad(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
// Use this for initialization
|
|
public override void OnInit()
|
|
{
|
|
//bind UI GameObj
|
|
UIStoryFightMainBinder.GetComponents(this);
|
|
}
|
|
|
|
//invoke when open window
|
|
protected override void OnShowWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when reload window
|
|
protected override void OnReloadWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when close window
|
|
protected override void OnHideWindow()
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when destroy
|
|
public override void OnRelease()
|
|
{
|
|
base.OnRelease();
|
|
}
|
|
}
|