Skip to content

Commit

Permalink
Merge pull request #10 from ElmarJ/Issue9
Browse files Browse the repository at this point in the history
Move geojson + json classes to Editor assembly. Closes #9.
  • Loading branch information
ElmarJ authored Aug 9, 2020
2 parents fa40181 + a67c95f commit 516a999
Show file tree
Hide file tree
Showing 31 changed files with 14 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "Data/External/JSONObject"]
path = Data/External/JSONObject
url = https://github.com/mtschoen/JSONObject
[submodule "Editor/External/JSONObject"]
path = Editor/External/JSONObject
url = https://github.com/mtschoen/JSONObject.git
3 changes: 0 additions & 3 deletions Data/nl.elmarjansen.geojsoncitybuilder.Data.asmdef

This file was deleted.

7 changes: 0 additions & 7 deletions Data/nl.elmarjansen.geojsoncitybuilder.Data.asmdef.meta

This file was deleted.

1 change: 1 addition & 0 deletions Editor/Builders/BlocksFromGeoJsonBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;

using System.Linq;
using GeoJsonCityBuilder.Data;
using GeoJsonCityBuilder.Data.GeoJSON;
using UnityEngine;
using UnityEngine.ProBuilder;
Expand Down
1 change: 1 addition & 0 deletions Editor/Builders/PrefabsFromGeoJsonBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;

using System.Linq;
using GeoJsonCityBuilder.Data;
using GeoJsonCityBuilder.Data.GeoJSON;
using UnityEditor;
using UnityEngine;
Expand Down
2 changes: 1 addition & 1 deletion Data/External.meta → Editor/External.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Data/GeoJSON.meta → Editor/GeoJSON.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Runtime/Components/BlocksFromGeoJson.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;

using System.Linq;
using GeoJsonCityBuilder.Data.GeoJSON;
using GeoJsonCityBuilder.Data;
using UnityEngine;
using UnityEngine.ProBuilder;

Expand Down
2 changes: 1 addition & 1 deletion Runtime/Components/PositionOnWorldCoordinates.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using GeoJsonCityBuilder.Data.GeoJSON;
using GeoJsonCityBuilder.Data;
using UnityEngine;

namespace GeoJsonCityBuilder
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Components/PrefabsFromGeoJson.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;

using System.Linq;
using GeoJsonCityBuilder.Data.GeoJSON;
using GeoJsonCityBuilder.Data;
using UnityEditor;
using UnityEngine;
using UnityEngine.ProBuilder;
Expand Down
2 changes: 1 addition & 1 deletion Data.meta → Runtime/Data.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Data/GeoJSON/Coordinate.cs → Runtime/Data/Coordinate.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using UnityEngine;

namespace GeoJsonCityBuilder.Data.GeoJSON {
namespace GeoJsonCityBuilder.Data {
[Serializable]
public class Coordinate
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 516a999

Please sign in to comment.