EmanMhesin b664277082 added UI flow: welcome screen with start button → instructions UI
added UI flow: welcome screen with start button → instructions UI
2025-05-24 17:22:11 +02:00

15 lines
447 B
C#

using UnityEngine;
public class WelcomeUI : MonoBehaviour
{
public GameObject uiPanel; // 👈 поле для Welcome Canvas
public GameObject mainUI; // 👈 поле для Main Canvas
public void StartExperience()
{
Debug.Log("Start clicked!"); // опционально
uiPanel.SetActive(false); // спрятать welcome
mainUI.SetActive(true); // показать main
}
}