You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is by design or not but it appears that custom attributes set by a template are not being read/imported. For example (image below if it helps), I've created a template called EnemySpawn.tx which has a default attribute called enemy:type. This is not being imported into Unity, however if I manually add a custom property it works ok.
I see the following in the tmx file, which makes sense but I'm not sure if Tiled2Unity will read the .txs and I've just got it in the wrong place?
I'm trying to use these in a custom importer (using the HandleCustomProperties method) which works fine for manually added properties isn't being called for objects with only the template defaults.
The text was updated successfully, but these errors were encountered:
Hi,
I'm not sure if this is by design or not but it appears that custom attributes set by a template are not being read/imported. For example (image below if it helps), I've created a template called EnemySpawn.tx which has a default attribute called enemy:type. This is not being imported into Unity, however if I manually add a custom property it works ok.
I see the following in the tmx file, which makes sense but I'm not sure if Tiled2Unity will read the .txs and I've just got it in the wrong place?
<object id="5" template="EnemySpawn.tx" x="232" y="264"/> <object id="8" template="EnemySpawn.tx" x="160" y="168"> <properties> <property name="test" value="rear"/> </properties> </object>
I'm trying to use these in a custom importer (using the HandleCustomProperties method) which works fine for manually added properties isn't being called for objects with only the template defaults.
The text was updated successfully, but these errors were encountered: