2024-05-01 00:28:48 +08:00
|
|
|
//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);
|
|
|
|
}
|
|
|
|
}
|