AxibugEmuOnline/AxibugEmuOnline.Client/Assets/Script/UnityUICompatibilityTool/Scripts/UI/Canvas/GameCanvasScaler.cs

12 lines
257 B
C#
Raw Normal View History

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