如何更改垂直布局组unity3d的方向? [英] How to change direction of expanding vertical layout group unity3d?

查看:103
本文介绍了如何更改垂直布局组unity3d的方向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在垂直布局组上添加新元素时,当没有更多空间放置时,垂直布局组开始向楼下扩展.如何使它们从顶部彼此添加?

When I`m adding new elements on vertical layout group and when there is no more place to them vertical layout group starting to expand downstairs. How to make them adding from the top of each other?

我想要什么:

  • 第四个元素
  • 第三个元素
  • 第二个元素
  • 第一个元素

第一个元素始终在楼下,第二个元素在其顶部生成.

First element is always downstairs, next elements are spawning at top of it.

谢谢.

推荐答案

好,我找到了一个解决方案.如果正确,则为Idk,但这是最简单的.只需将矩形变形"旋转180度即可. 图像解决方案

Ok, I found one solution. Idk if it is correct, but it is the simpliest one. Just need to rotate "Rect tranform" for 180 degrees. Solution in image

结果视频: Google驱动器.

这篇关于如何更改垂直布局组unity3d的方向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆