Hi,
Input.GetAxis("Horizontal")
Is Input a static class?
Because I call the GetAxis method without instantiating the class.
Or is it something else?
In the Unity Scripting documentation it says:
Input
class in UnityEngine
Implemented in:UnityEngine.CoreModule
Description
Interface into the Input system.
And you cant write this:
transform.position.y = transform.position.y + 0.1f * vertical;
it gives me an error msg. tranform.position is not a variable. What is it then?
Is it a pointer?