public void UnRegisterVirtualAxis(string name) { // if we have an axis with that name then remove it from our dictionary of registered axes if (m_VirtualAxes.ContainsKey(name)) { m_VirtualAxes.Remove(name); } }
public static void UnRegisterVirtualAxis(string name) { if (name == null) { throw new ArgumentNullException("name"); } activeInput.UnRegisterVirtualAxis(name); }