- Home /
Question by
ethanol3310 · Jan 14, 2018 at 09:24 AM ·
codepage
can someone check the end of this code for errors
private void FixedUpdate()
{
// Read the inputs.
bool crouch = Input.GetKey(KeyCode.LeftControl);
float h = CrossPlatformInputManager.GetAxis("Horizontal");
// Pass all parameters to the character control script.
character.Move(h, crouch, jump);
jump = false;
}
}
Comment
Answer by efeguclu · Jan 14, 2018 at 03:11 PM
I can not check this code if I don't see the Character.Move function and Axises of your CrossPlatformInputManager..
Your answer

Follow this Question
Related Questions
Convert Audio Beeps And Dashes into Text 0 Answers
GetItemByID error 0 Answers
Check if object is facing a point (ignore y axis) 1 Answer
Time.deltaTime not working? 1 Answer
how to change code editor 0 Answers