public List <ControlScheme> Load()
        {
            XmlDocument doc = fileName != null?XMLTools.LoadXML(fileName) : XMLTools.LoadXML(textReader);

            if (doc != null)
            {
                return(LoadControlSchemes(doc));
            }
            Debug.LogError("couldnt load xml doc");
            return(null);
        }
        public ControlScheme Load(string schemeName)
        {
            if (string.IsNullOrEmpty(schemeName))
            {
                return(null);
            }
            XmlDocument doc = fileName != null?XMLTools.LoadXML(fileName) : XMLTools.LoadXML(textReader);

            if (doc != null)
            {
                return(LoadControlScheme(doc, schemeName));
            }
            Debug.LogError("couldnt load xml doc");
            return(null);
        }