fixed ui, localization and save/load
This commit is contained in:
@@ -91,6 +91,7 @@ public class Tile : MonoBehaviour
|
||||
string result = "{\r\n";
|
||||
GameObject obj;
|
||||
result = result + FileHandler.generateJSON("tiletype", "\"" + tiletype + "\"") + ",\r\n";
|
||||
result = result + FileHandler.generateJSON("tilename", "\"" + name + "\"") + ",\r\n";
|
||||
result = result + FileHandler.generateJSON("position", "\"" + position.x + "/" + position.y + "/" + position.z + "\"") + ",\r\n";
|
||||
result = result + "\"objects\": {\r\n";
|
||||
for (int i = 0; i < gameObject.transform.childCount; i++)
|
||||
|
||||
Reference in New Issue
Block a user