public void SetController(Dictionary<string, ReflectedScript> d, string cType, string key) { switch(cType.Trim().ToLower()) { case "act": case "action": d.TryGetValue(key, out DefaultActionController); break; } }