单项选择题
通过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 -
单项选择题
Vector3.up对应的xyz坐标的值为()。
A.(0,0,0)
B.(0,1,0)
C.(1,0,0)
D.(0,-1,0) -
单项选择题
Unity中所有类的基类是()。
A.MonoBehaviour
B.Component
C.GameObject
D.Object
