📅  最后修改于: 2022-03-11 14:48:58.110000             🧑  作者: Mango
代码示例1
float movementSpeed = 100f;
void Update()
{
rb.GetComponent().velocity = transform.forward * Time.deltaTime * movementSpeed;
}