Files
ichni_Official/Assets/Scripts/UI/UIManager.cs
SoulliesOfficial abf81ece7b menu
2025-07-26 04:20:25 -04:00

23 lines
549 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.UI
{
public static class UIManager
{
private static readonly Vector2 standardResolution = new Vector2(1920, 1080);
public static float StandardRatio = 16f / 9f;
public static float GetScreenRatio()
{
return (float)Screen.width / Screen.height;
}
public static bool IsWideScreen()
{
return GetScreenRatio() < 1.34f;
}
}
}