📜  unity reset 刚体速度 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:46.778000             🧑  作者: Mango

代码示例2
Vector3 velocity = new Vector3(10f/*x*/, 10f/*y*/, 10f/*z*/);
GetComponent().velocity = velocity;