From 61a2c3c5dae9205034f9577317d2f7cf531f74d8 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Thu, 25 Aug 2016 17:47:22 -0700 Subject: [PATCH] Added remark about unsafe code in unity3d docs --- docs/osx_unity3d_zt_sdk.md | 1 + integrations/Unity3D/Assembly-CSharp.csproj | 16 ---------------- integrations/Unity3D/README.md | 1 + 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/docs/osx_unity3d_zt_sdk.md b/docs/osx_unity3d_zt_sdk.md index 6df90f4..a2badca 100644 --- a/docs/osx_unity3d_zt_sdk.md +++ b/docs/osx_unity3d_zt_sdk.md @@ -34,6 +34,7 @@ Our implementation currently intends to be the bare minimum required to get your **Step 3: Include wrapper class source** - Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder. + - Add a file `Assets/smcs.rsp` containing the flag `-unsafe`. This is needed to execute the native library. **Step 4: Create and use a `ZeroTierNetworkInterface` object** - See examples below for how to use it! diff --git a/integrations/Unity3D/Assembly-CSharp.csproj b/integrations/Unity3D/Assembly-CSharp.csproj index d67b47a..84397dd 100644 --- a/integrations/Unity3D/Assembly-CSharp.csproj +++ b/integrations/Unity3D/Assembly-CSharp.csproj @@ -46,25 +46,9 @@ - - - - - - - - - - - - - - - - /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll diff --git a/integrations/Unity3D/README.md b/integrations/Unity3D/README.md index 6df90f4..a2badca 100644 --- a/integrations/Unity3D/README.md +++ b/integrations/Unity3D/README.md @@ -34,6 +34,7 @@ Our implementation currently intends to be the bare minimum required to get your **Step 3: Include wrapper class source** - Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder. + - Add a file `Assets/smcs.rsp` containing the flag `-unsafe`. This is needed to execute the native library. **Step 4: Create and use a `ZeroTierNetworkInterface` object** - See examples below for how to use it!