powerfun-unity/Assets/AfterFitter.cs

24 lines
445 B
C#
Raw Normal View History

2021-09-02 14:18:26 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AfterFitter : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
private void OnRectTransformDimensionsChange()
{
GetComponent<ImageWithIndependentRoundedCorners>().Refresh();
}
// Update is called once per frame
void Update()
{
}
}