|
|
@@ -713,6 +713,23 @@ public static void create_object_types(Database database)
|
|
|
},
|
|
|
};
|
|
|
database.create_object_type(OBJECT_TYPE_TONEMAP, properties, ObjectTypeFlags.UNIT_COMPONENT);
|
|
|
+
|
|
|
+ properties =
|
|
|
+ {
|
|
|
+ PropertyDefinition()
|
|
|
+ {
|
|
|
+ type = PropertyType.STRING,
|
|
|
+ name = "editor.name",
|
|
|
+ },
|
|
|
+ PropertyDefinition()
|
|
|
+ {
|
|
|
+ type = PropertyType.STRING,
|
|
|
+ name = "prefab",
|
|
|
+ editor = PropertyEditorType.RESOURCE,
|
|
|
+ resource_type = OBJECT_TYPE_UNIT,
|
|
|
+ },
|
|
|
+ };
|
|
|
+ database.create_object_type(OBJECT_TYPE_UNIT, properties);
|
|
|
}
|
|
|
|
|
|
} /* namespace Crown */
|