// FixedUpdate void FixedUpdate() { if (axesInputType == AxesInputType.BindAxes && !binded) { TCKInput.BindAxes("Joystick", BindPlayerAxes); binded = true; return; } if (axesInputType != AxesInputType.BindAxes && binded) { TCKInput.UnbindAxes("Joystick", BindPlayerAxes); binded = false; return; } if (axesInputType != AxesInputType.GetAxis) { return; } float moveX = TCKInput.GetAxis("Joystick", EAxisType.Horizontal); float moveY = TCKInput.GetAxis("Joystick", EAxisType.Vertical); PlayerMovement(moveX, moveY); }