AspectRatioFitterPatched.cs 309 B

1234567891011121314
  1. using UnityEngine.UI;
  2. /// <summary>
  3. /// See below
  4. /// https://forum.unity.com/threads/aspectratiofitter-new-restriction-in-2020-2.1022683/
  5. /// </summary>
  6. internal class AspectRatioFitterPatched : AspectRatioFitter
  7. {
  8. protected override void Start()
  9. {
  10. base.Start();
  11. SetDirty();
  12. }
  13. }