using DG.Tweening; using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; using UnityEngine.UI; /// /// Ï·½Ãæ°å /// public class UI_UpBgPanel : BasePanel { public ToggleGroup AllToggle_Tg; public List toggle_Up = new List(); protected override void Awake() { base.Awake(); AllToggle_Tg = GetControl("AllToggle_Tg"); foreach (Toggle itemToggle in toggle_Up) { itemToggle.group = AllToggle_Tg; } } public override void ShowMe() { base.ShowMe(); Debug.Log("UI_LoadingPanel ShowMe"); } public override void HideMe() { base.HideMe(); Debug.Log("UI_LoadingPanel HideMe"); } private void Update() { } protected override void OnChangeToggle(string btnPath ,bool ison) { base.OnChangeToggle(btnPath, ison); if (ison) { switch (btnPath) { case "LeftOpen_Btn": Debug.Log(btnPath); break; } } } }