File tree Expand file tree Collapse file tree
Unity/Assets/NativeScript/Editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public static class GenerateBindings
2424 {
2525 // Disable unused field types. JsonUtility actually uses them, but it
2626 // does so with reflection.
27- #pragma warning disable CS0649
27+ #pragma warning disable 649
2828
2929 [ Serializable ]
3030 class JsonConstructor
@@ -289,7 +289,9 @@ struct TypeName
289289 static readonly string CppDirPath =
290290 Path . Combine (
291291 Path . Combine (
292- ProjectDirPath ,
292+ Path . Combine (
293+ ProjectDirPath ,
294+ "Assets" ) ,
293295 "CppSource" ) ,
294296 "NativeScript" ) ;
295297 static readonly string CsharpPath = Path . Combine (
@@ -308,7 +310,7 @@ static readonly FieldOrderComparer DefaultFieldOrderComparer
308310 = new FieldOrderComparer ( ) ;
309311
310312 // Restore unused field types
311- #pragma warning restore CS0649
313+ #pragma warning restore 649
312314
313315 public static void Generate ( )
314316 {
You can’t perform that action at this time.
0 commit comments