网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

unity3d 怎么设置正确的anchors

时间:2024-10-16 12:48:16

1、打开unity3d这款软件,进入unity3d的操作界面,如图所示:

unity3d 怎么设置正确的anchors

2、在该界面内找到gameobject菜单里的UI选项,如图所示:

unity3d 怎么设置正确的anchors

3、点击UI选项在其下拉菜单里选择canvas选项,如图所示:

unity3d 怎么设置正确的anchors

4、点击canvas选项后再在UI里找到button选项,如图所示:

unity3d 怎么设置正确的anchors

5、点击button选项,在button上就出现了anchors控制点,如图所示:

unity3d 怎么设置正确的anchors

6、使用鼠标左键向右移动就可以将其变宽了,如图所示:

unity3d 怎么设置正确的anchors

7、在使用鼠标左键向下拖动就可以变高了,如图所示:

unity3d 怎么设置正确的anchors

8、再在inspector面板里找到anchors presets选项,在其内我们可以选择软件内醅呓择锗置的效果,如图所示:

unity3d 怎么设置正确的anchors

9、选择预置anchors后我们在inspector内可以精确设置其坐标位置,如图所示:

unity3d 怎么设置正确的anchors

10、也可以在inspector内设置其大小和高度,总根据需要来设置就可以了,如图所示:

unity3d 怎么设置正确的anchors
© 2025 一点资料
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com