Skip to content

Commit b69ae7c

Browse files
Rename Bindings.json to NativeScriptTypes.json
1 parent 00dd1cd commit b69ae7c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Unity/Assets/NativeScript/Editor/GenerateBindings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void Generate(bool dryRun)
128128
// Load JSON
129129
string jsonPath = Path.Combine(
130130
Application.dataPath,
131-
NativeScriptConstants.BindingsJsonPath);
131+
NativeScriptConstants.ExposedTypesJsonPath);
132132
string json = File.ReadAllText(jsonPath);
133133
JsonDocument doc = JsonUtility.FromJson<JsonDocument>(json);
134134

Unity/Assets/NativeScriptConstants.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static class NativeScriptConstants
3232
public const int MaxManagedObjects = 1024;
3333

3434
/// <summary>
35-
/// Path within the Unity project to the Bindings JSON file
35+
/// Path within the Unity project to the exposed types JSON file
3636
/// </summary>
37-
public const string BindingsJsonPath = "Bindings.json";
37+
public const string ExposedTypesJsonPath = "NativeScriptTypes.json";
3838
}

0 commit comments

Comments
 (0)