SuperTiled2Unity icon indicating copy to clipboard operation
SuperTiled2Unity copied to clipboard

Implement unity:prefabKeepObject

Open fmoo opened this issue 3 years ago • 0 comments

Currently, using prefab imports nukes the SuperObject and the SuperCustomProperties components. While custom properties are broadcast, it may still be desirable to allow access to arbitrary custom properties by name at runtime.

Add a new unity attributes, unity:prefabKeepObject that on import, checks if set on the object, and if so, creates a copy of the SuperObject and SuperCustomProperties onto the root node of the prefab.

fmoo avatar Mar 04 '22 03:03 fmoo