Пример #1
0
 public void Parsed()
 {
     this.fieldType = DynamicTypes.GetType(this.fieldTypeName);
     if (this.fieldType == null)
     {
         Debug.Log("DynamicTypes.WaitForType", "Couldn't find type \"" + fieldTypeName + "\".", Debug.Type.ERROR);
     }
     else
     {
         if (isProperty)
         {
             if (DynamicTypes.ParseProperty(newType, fieldType, fieldTypeName, fieldName))
             {
                 typeWaiting[newType.FullName]--;
                 if (typeWaiting[newType.FullName] == 0)
                 {
                     DynamicTypes.TypeComplete(newType);
                 }
             }
         }
         else
         {
             if (DynamicTypes.ParseField(newType, fieldType, fieldTypeName, fieldName))
             {
                 typeWaiting[newType.FullName]--;
                 if (typeWaiting[newType.FullName] == 0)
                 {
                     DynamicTypes.TypeComplete(newType);
                 }
             }
         }
     }
 }