Files
webRtc/Assets/Samples/Unity Render Streaming/3.1.0-exp.9/Example/ARFoundation/AspectRatioFitterPatched.cs

15 lines
309 B
C#
Raw Normal View History

2026-02-27 18:35:40 +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();
}
}