Version: 2017.3

UIBehaviour.OnRectTransformDimensionsChange

切换到手册
protected void OnRectTransformDimensionsChange ();

描述

This callback is called if an associated RectTransform has its dimensions changed. The call is also made to all child rect transforms, even if the child transform itself doesn't change - as it could have, depending on its anchoring.