示例#1
0
 /// <description>
 /// Get the number of static fields on the object.
 /// </description>
 /// <returns>The number of static fields defined on the object.</returns>
 public void AddComponentField(string fieldName = "", string fieldDesc = "", string fieldType = "", string defValue = "", string userData = "", bool hidden = false)
 {
     InternalUnsafeMethods.AddComponentField__Args _args = new InternalUnsafeMethods.AddComponentField__Args()
     {
         fieldName = fieldName,
         fieldDesc = fieldDesc,
         fieldType = fieldType,
         defValue  = defValue,
         userData  = userData,
         hidden    = hidden,
     };
     InternalUnsafeMethods.AddComponentField()(ObjectPtr, _args);
 }