更新至unity6并且更改Scriptable完成
This commit is contained in:
@@ -1 +1,6 @@
|
||||
{}
|
||||
{
|
||||
"version": 0,
|
||||
"name": "PlayerInput",
|
||||
"maps": [],
|
||||
"controlSchemes": []
|
||||
}
|
||||
@@ -94,7 +94,7 @@ namespace Demo
|
||||
{
|
||||
Speed = FailMovingSpeed();
|
||||
}
|
||||
m_Rigidbody.velocity = Speed;
|
||||
m_Rigidbody.linearVelocity = Speed;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user