93 lines
2.1 KiB
C#
93 lines
2.1 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 PhxhSDK;
|
|
using Framework;
|
|
|
|
public class UI_VehicleSkinController : UIWindow
|
|
{
|
|
//UI GameObj
|
|
///Auto Gen Start///
|
|
public Button Button_Back;
|
|
public Button Button_back;
|
|
public TMP_Text Text_Back;
|
|
public Button Button_Home;
|
|
public Image Image_DarkLeft;
|
|
public Image Image_DarkLeftTop;
|
|
public Image Image_DarkTop;
|
|
public Image Image_DarkBottom;
|
|
public Image Image_OrganizatioFlag;
|
|
public Image Image_AngularShape0;
|
|
public TMP_Text Text_VehicleType;
|
|
public Image Image_AngularShape1;
|
|
public TMP_Text Text_Level;
|
|
public Image Image_AngularShape2;
|
|
public TMP_Text Text_Organization;
|
|
public TMP_Text Text_VehicleName;
|
|
public Button Button_Part0;
|
|
public Image Image_LightBar0;
|
|
public Button Button_Part1;
|
|
public Image Image_LightBar1;
|
|
public Button Button_Part2;
|
|
public Image Image_LightBar2;
|
|
public Image Image_LineLeft;
|
|
public Image Image_LineBottom;
|
|
public TMP_Text Text_Title;
|
|
public TMP_Text Text_PartName;
|
|
public TMP_Text Text_Count;
|
|
public ScrollRect ScrollRect_VehicleSkin;
|
|
public Image Image_Bg;
|
|
public Image Image_SelectedBorder;
|
|
public Image Image_Icon;
|
|
public TMP_Text Text_Name;
|
|
public Image Image_DrakHide;
|
|
public Image Image_Locked;
|
|
public Image Image_CurrentEquipment;
|
|
public Button Button_Equipment;
|
|
|
|
///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
|
|
UI_VehicleSkinBinder.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();
|
|
}
|
|
}
|