InputAxisΒΆ

Select an input axis via dropdown interface:

public class NaughtyComponent : MonoBehaviour
{
    [InputAxis]
    public string inputAxis;
}
../../_images/InputAxis_Inspector.png