1,Vector3 类型变量存储向量坐标值 Vector3.forward Vector3(0,0,1) Vector3.up Vector3(0,1,0) Vector3.right Vector3(1,0,0) Vector3.zero Vector3(0,0,0) Vector3.one Vector3(1,1,1) 2,给对象RigidBody添加组件 ,然后给RigidBody一个速率(velocity)让它的移动 using UnityEngine; using System.Col