Files
webRtc/Packages/com.unity.renderstreaming@3.1.0-exp.9/Samples~/Example/ARFoundation/AspectRatioFitterPatched.cs

15 lines
309 B
C#
Raw Normal View History

2026-04-28 16:48:04 +08:00
using UnityEngine.UI;
/// <summary>
/// See below
/// https://forum.unity.com/threads/aspectratiofitter-new-restriction-in-2020-2.1022683/
/// </summary>
internal class AspectRatioFitterPatched : AspectRatioFitter
{
protected override void Start()
{
base.Start();
SetDirty();
}
}