In order to move my player immediately at constant speed, I wanted to change the user's joystick input like that:
float fH = Input.GetAxis("Horizontal");
fH = Math.Sign(fH);
transform.position += transform.right * fH * speed * Time.deltaTime;
Now Unity tells me that the name "Math" does not exist in the current context.
I never expected that I would have to write something like "using Math" (untested).
This made me think if I should use any NET framework class at all or just use Unity's built-in functions.
Is there a reason NOT to use the NET framework in a Unity script?