Skip to content

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptdev committed Aug 29, 2018
1 parent e36c0fd commit c93c129
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/cross-platform/unity-scripting-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ In addition to new C# syntax and language features, the .NET 4.x scripting runti

1. Create a file named **link.xml** in your Unity project's **Assets** directory and add the following XML. This will ensure Unity's bytecode stripping process does not remove necessary data when exporting to an IL2CPP platform. While this step is specific to this library, you may run into problems with other libraries that use Reflection in similar ways. For more information, please see [Unity's docs](https://docs.unity3d.com/Manual/IL2CPP-BytecodeStripping.html) on this topic.

```xml
<linker>
<assembly fullname="System.Core">
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all" />
</assembly>
</linker>
```
```xml
<linker>
<assembly fullname="System.Core">
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all" />
</assembly>
</linker>
```

With everything in place, you can now use the Json.NET package.

Expand Down Expand Up @@ -120,7 +120,7 @@ public class JSONTest : MonoBehaviour
}
```

This is a simple example of using a library which has no dependencies, but not that many NuGet packages rely on other NuGet packages and you would need to download these dependencies manually and add them to the project in the same way.
This is a simple example of using a library which has no dependencies. When NuGet packages rely on other NuGet packages, you would need to download these dependencies manually and add them to the project in the same way.

## New syntax and language features

Expand Down

0 comments on commit c93c129

Please sign in to comment.