因为公司需求,便在网上搜索,并没有找到相关解决方案,问了问同事,感谢同事的指导。记录下来方便以后使用
可以在Content中添加Content Size Fitter和Vertical Layout Group、Grid,,便可以实现不同大小的item。将Conten Size Fitter中的Horizontal Fit和Vertical File的设置改为Min Size,Content的面积会根据item的总体面积改变
unity ScrollView(下拉列表)中摆放不同的子物体

相关文章:

  • 2022-12-23
  • 2021-10-27
  • 2021-07-28
  • 2021-11-27
  • 2021-12-04
  • 2021-12-13
  • 2021-04-28
  • 2021-11-09
猜你喜欢
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-08-30
相关资源
相似解决方案