Commit 03e46366 by Alisa Jung

xml level saver (Export...) can now ignore "(Clone)" - Suffix

parent 355a9c5b
...@@ -43,7 +43,7 @@ public class DeserializedLevelsSaver ...@@ -43,7 +43,7 @@ public class DeserializedLevelsSaver
string name = item.name; string name = item.name;
name = name.Replace("(Clone)", ""); name = name.Replace("(Clone)", "");
levelXml.items[i].prefab = item.name; levelXml.items[i].prefab = name;
levelXml.items[i].x = toStringNullIfZero(item.transform.position.x); levelXml.items[i].x = toStringNullIfZero(item.transform.position.x);
levelXml.items[i].y = toStringNullIfZero(item.transform.position.y); levelXml.items[i].y = toStringNullIfZero(item.transform.position.y);
levelXml.items[i].rot = toStringNullIfZero(item.localRotation.eulerAngles.z); levelXml.items[i].rot = toStringNullIfZero(item.localRotation.eulerAngles.z);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment