重新导入插件
This commit is contained in:
@@ -102,8 +102,8 @@ namespace WaveHarmonic.Crest.Watercraft.Examples
|
||||
input.z += Keyboard.current[_DriveBackward].isPressed ? -1f : 0f;
|
||||
input.x += Keyboard.current[_SteerLeftward].isPressed ? -1f : 0f;
|
||||
input.x += Keyboard.current[_SteerRightward].isPressed ? 1f : 0f;
|
||||
// input.y += Keyboard.current[_FloatUpward].isPressed ? 1f : 0f;
|
||||
// input.y += Keyboard.current[_FloatDownward].isPressed ? -1f : 0f;
|
||||
input.y += Keyboard.current[_FloatUpward].isPressed ? 1f : 0f;
|
||||
input.y += Keyboard.current[_FloatDownward].isPressed ? -1f : 0f;
|
||||
#else
|
||||
input.z = UnityEngine.Input.GetAxis(_DriveInputAxis);
|
||||
input.x = UnityEngine.Input.GetAxis(_SteerInputAxis);
|
||||
|
||||
Reference in New Issue
Block a user