/// <description> /// addField( fieldName/varName, fieldLabel, fieldTypeName, description, defaultValue, defaultValues, ownerObject ) /// </description> public void AddField(string name = "", string label = "", string typeName = "", string description = "", string defaultValue = "", string dataValues = "", SimObject ownerObj = null) { InternalUnsafeMethods.AddField__Args _args = new InternalUnsafeMethods.AddField__Args() { name = name, label = label, typeName = typeName, description = description, defaultValue = defaultValue, dataValues = dataValues, ownerObj = ownerObj.ObjectPtr, }; InternalUnsafeMethods.AddField()(ObjectPtr, _args); }