相关考题
-
单项选择题
Unity中关于Public类型的变量,说法错误的是()。
A.public变量是全局变量
B.public变量可以在Inspector面板上显示
C.public变量可以在Inspector面板上修改,测试脚本程序运行效果
D.public变量不可以在Inspector面板上显示 -
单项选择题
通过Transform类使物体沿z轴正方向移动5米/秒的语句,正确的是()。
A.transform.Translate(0,0,5)
B.transform.Translate(0,0,5*Time.deltaTime)
C.transform.Translate(0,0,-5*Time.deltaTime)
D.transform.Translate(0,-5,0) -
单项选择题
transform组件中Rotation对应的是Transform类中的()属性。
A.localRotation
B.Rotation
C.localEulerAngles
D.EulerAngles
