Ejemplo n.º 1
0
		public static bool DeleteAction(string controlSchemeName, string actionName)
		{
			ControlScheme scheme = GetControlScheme(controlSchemeName);
			InputAction action = GetAction(controlSchemeName, actionName);
			if(scheme != null && action != null)
			{
				m_instance.m_actionLookup[scheme.Name].Remove(action.Name);
				scheme.DeleteAction(action);
				return true;
			}

			return false;
		}