提交项目

This commit is contained in:
2026-06-15 11:34:31 +08:00
commit 43d6c0125d
5698 changed files with 1236396 additions and 0 deletions
@@ -0,0 +1,31 @@
using UnityEngine;
namespace BingoBrain.Core
{
public static class CenConst
{
public static Vector2 StandardResolution =
new(BingoConst.StandardResolution.x, BingoConst.StandardResolution.y);
public static float StandardWidth => BingoConst.StandardResolution.x;
public static float StandardHeight => BingoConst.StandardResolution.y;
public static Vector2 RawResolution = new(Screen.width, Screen.height);
public static Vector2 CurrResolution = new(Screen.width, Screen.height);
public static float OrthographicSize_1280H = StandardHeight / 2 / BingoConst.PixelsPerUnit;
public static float StandardAspectRatio = StandardHeight / StandardWidth;
public static float CurrAspectRatio = (float)Screen.height / Screen.width;
}
}