Skip to content

Content Items Package

This package provides the feature to specify how properties defined from the Property Scriptables are to be exported for Content Items exporting. There are two attributes for a devs perusal: - ContentItemExportAttribute - this attribute is used to specify how a property is to be exported for Content Items exporting. - ContentItemObjectAttribute - this attribute is for more complex objects where the nested fields need to be accompanied with JsonProperty

Example Snippet

{
   "Speed" : 0 ==> [ContentItemExport("Speed")]
....
   "HarborData": { => [ContentItemObject("HarborData")]
      "HarborSpeed" : 10, ==> [JsonProperty("HarborSpeed")]
    }
}