main menu and other UI

This commit is contained in:
2026-01-29 16:31:39 +05:30
parent 17b8f48e8f
commit 06a2148532
7437 changed files with 3983588 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LayerLab.CasualGame
{
public class PanelCasualGame : MonoBehaviour
{
[SerializeField] private GameObject[] otherPanels;
public void OnEnable()
{
for (int i = 0; i < otherPanels.Length; i++) otherPanels[i].SetActive(true);
}
public void OnDisable()
{
for (int i = 0; i < otherPanels.Length; i++) otherPanels[i].SetActive(false);
}
}
}