public Type GetLogicType(string class_name) { var _type = UtilityAIManager.GetTypeFromString(class_name); type = _type != null ? _type : typeof(CompositeScoreQualifier); return(type); }
public QualifierOption(Type type) { Debug.Log("Constructing Qualifier Option"); this.isSelected = false; this.nameID = type.ToString().Replace(typeof(UtilityAIClient).Namespace + ".", ""); this.logicType = type.ToString(); this.type = type; this.FieldInfo = UtilityAIManager.GetFieldInfoOfType(this.type); }