63 lines
1.2 KiB
C#
63 lines
1.2 KiB
C#
using cfg.UIMainPanelMusic;
|
|
using Framework;
|
|
using System;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using Button = UnityEngine.UI.Button;
|
|
using Image = UnityEngine.UI.Image;
|
|
|
|
public class UI_CameraChangeController : UIWindow
|
|
{
|
|
//UI GameObj
|
|
///Auto Gen Start///
|
|
public Image Image_BG;
|
|
public TMP_Text Text_Title;
|
|
public Button Button_Close;
|
|
public Button Button_Change1;
|
|
public Image Image_Check;
|
|
public Image Image_Full;
|
|
public Button Button_Change2;
|
|
|
|
public Button Button_Change3;
|
|
public Button Button_Comfirm;
|
|
public TMP_Text Text_Comfirm;
|
|
|
|
|
|
///Auto Gen End///
|
|
|
|
// Use this for initialization
|
|
public override void OnAwake()
|
|
{
|
|
//bind UI GameObj
|
|
UI_CameraChangeBinder.GetComponents(this);
|
|
}
|
|
|
|
//invoke when open window
|
|
protected override void OnOpenWindow(object data = null)
|
|
{
|
|
RefreshThreeIcons();
|
|
}
|
|
public void RefreshThreeIcons()
|
|
{
|
|
for (int i = 0; i < 3; i++)
|
|
{
|
|
//RefreshSingleIcons(TableManager.Instance.Tables.);
|
|
}
|
|
}
|
|
|
|
private void RefreshSingleIcons(DataMainPanelCameraChange cfg,GameObject obj)
|
|
{
|
|
}
|
|
|
|
//invoke when reload window
|
|
protected override void OnReloadWindow(object data = null)
|
|
{
|
|
|
|
}
|
|
|
|
//invoke when close window
|
|
protected override void OnCloseWindow()
|
|
{
|
|
|
|
}
|
|
} |