Files
ichni_Official/Assets/Scripts/UI/Base/WideScreenUI.cs

25 lines
508 B
C#
Raw Normal View History

2025-06-09 04:52:14 -04:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Ichni.UI
{
public class WideScreenUI : MonoBehaviour
{
public UnityAction wideScreenAction;
private void Start()
{
2025-07-26 04:20:25 -04:00
if (!UIManager.IsWideScreen())
2025-06-09 04:52:14 -04:00
{
gameObject.SetActive(false);
}
else
{
2025-07-26 04:20:25 -04:00
wideScreenAction?.Invoke();
2025-06-09 04:52:14 -04:00
}
}
}
}