ContentSizeFitter组件

来源:互联网 发布:音箱测试软件wavetool 编辑:程序博客网 时间:2024/05/22 12:39

1)The ContentSizeFitter can be used on GameObjects that have one or more ILayoutElement components, such as Text, Image, HorizontalLayoutGroup, VerticalLayoutGroup, and GridLayoutGroup.

2)该组件可以添加到Text上,将根据Text中的字数而自动调整Text大小

原创粉丝点击