Rect.width 宽度

var width : float

Description描述

Width of the rectangle.

矩形的宽度。

var rect = Rect (0, 0, 10, 10);
print(rect.width);
rect.width = 20;
最后修改:2010年12月21日 Tuesday 15:10

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。