MoTaForPSVita/Assets/Scripts/UI/Canvas/GameCanvasScaler.cs

12 lines
257 B
C#
Raw Normal View History

//Made by Olsc
2024-04-30 17:39:50 +08:00
using UnityEngine.UI;
public class GameCanvasScaler : CanvasScaler
{
protected override void Start()
{
uiScaleMode = ScaleMode.ScaleWithScreenSize;
//referenceResolution = new UnityEngine.Vector2(2340, 1080);
}
}