RandomGFGoStop/Assets/Scripts/UI/CanvasControl.cs

31 lines
746 B
C#
Raw Normal View History

2025-08-30 21:09:29 +00:00
using UnityEngine;
public class CanvasControl : MonoBehaviour
{
public static CanvasControl Ins;
private void Awake()
{
Ins = this;
}
[SerializeField] private GameObject go_GamePanel, go_AlbumPanel, go_MainPanel, go_ShopPanel, go_TopPanel, go_BottomPanel;
[SerializeField] private GameObject go_Bottom_LB, go_Bottom_RB;
public void Go_Shop()
{
go_GamePanel.SetActive(false);
go_AlbumPanel.SetActive(false);
go_MainPanel.SetActive(false);
go_ShopPanel.SetActive(true);
go_TopPanel.SetActive(true);
go_BottomPanel.SetActive(true);
go_Bottom_LB.SetActive(false);
go_Bottom_RB.SetActive(false);
}
public void Go_Main()
{
}
}