using DG.Tweening; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using Assets.Scripts; using System; public class Settings { public int AutoPause { set; get; } public float Sensitivity { set; get; } public int IMode { set; get; } public int Unit { set; get; } public float Volume { set; get; } public int WMode { set; get; } public int Language { set; get; } } public class SettingContoller : PFUIPanel { // Start is called before the first frame update Transform exit; Button[] AutoPause, IMode, Unit, WMode, Language; Slider Sensitivity, Volume; Settings settings; protected override void Awake() { exit = transform.Find("Main").Find("Exit"); if (exit != null) { //exit.GetComponent