Resets all input. After ResetInputAxes all axes return to 0 and all buttons return to 0 for one frame.
Input.ResetInputAxes();
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { Input.ResetInputAxes(); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: Input.ResetInputAxes()