Files
ichni_Official/Assets/Scripts/UI/Base/WideScreenUI.cs
SoulliesOfficial 27529d44dc 选章节
2025-06-09 04:52:14 -04:00

25 lines
516 B
C#

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()
{
if (!UIManager.instance.IsWideScreen())
{
gameObject.SetActive(false);
}
else
{
wideScreenAction.Invoke();
}
}
}
}