新建后默认在下边的中间

unity UI 之text and image_text

在Transform的小三角那儿右击,选reset position,text会中画布的中间

unity UI 之text and image_text_02

unity UI 之text and image_unity_03

字号太大看不见了是因为放置text的框太小了,放大就好了

unity UI 之text and image_text_04

字体修改,默认只有一种

unity UI 之text and image_放大缩小_05

直接把windows自带的字体复制到unity即可。

unity UI 之text and image_text_06

image的不同类型

tiled

unity UI 之text and image_text_07


Sliced小图片放大缩小不会失真。

unity UI 之text and image_text_08

unity UI 之text and image_text_09

filled类型

unity UI 之text and image_text_10