I chose to make the mouse move the character ONLY while the mouse is being actively clicked. This had a handy advantage in that you no longer need the magic “G” for Gamepad mode…
private void FixedUpdate()
{
if (Input.GetMouseButton(0))
{
ProcessMouse();
}
else
{
ProcessCrossPlatformInput();
}
}
For ProcessCrossPlatformInput(), for now, I just copied the ThirdPersonCharacter script’s FixedUpdate code (and moved over the relevant variables and Start code.