Esempio n. 1
0
        public Type GetLogicType(string class_name)
        {
            var _type = UtilityAIManager.GetTypeFromString(class_name);

            type = _type != null ? _type : typeof(CompositeScoreQualifier);
            return(type);
        }
Esempio n. 2
0
 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);
 }