Added remark about unsafe code in unity3d docs

This commit is contained in:
Joseph Henry
2016-08-25 17:47:22 -07:00
parent 2d0268482f
commit 61a2c3c5da
3 changed files with 2 additions and 16 deletions

View File

@@ -34,6 +34,7 @@ Our implementation currently intends to be the bare minimum required to get your
**Step 3: Include wrapper class source** **Step 3: Include wrapper class source**
- Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder. - 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** **Step 4: Create and use a `ZeroTierNetworkInterface` object**
- See examples below for how to use it! - See examples below for how to use it!

View File

@@ -46,25 +46,9 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Assets\MyZeroTier.cs" /> <Compile Include="Assets\MyZeroTier.cs" />
<Compile Include="Assets\OBJ-IO\Examples\Scripts\Example.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\GameObjectExtension.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\MeshExtension.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\StringExtensions.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\Texture2DExtension.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\TransformExtension.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\UnityExtension.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Extension\VectorExtension.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Mesh\OBJ\OBJData.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Mesh\OBJ\OBJFace.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Mesh\OBJ\OBJFaceVertex.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Mesh\OBJ\OBJGroup.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Mesh\OBJ\OBJLoader.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Mesh\OBJ\OBJMaterial.cs" />
<Compile Include="Assets\OBJ-IO\Plugins\Utils\Int32Converter.cs" />
<Compile Include="Assets\WorldMain.cs" /> <Compile Include="Assets\WorldMain.cs" />
<Compile Include="Assets\ZTSDK.cs" /> <Compile Include="Assets\ZTSDK.cs" />
<Compile Include="Assets\ZeroTierSockets_Demo.cs" /> <Compile Include="Assets\ZeroTierSockets_Demo.cs" />
<None Include="Assets\OBJ-IO\Readme.txt" />
<Reference Include="UnityEngine.Networking"> <Reference Include="UnityEngine.Networking">
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath> <HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
</Reference> </Reference>

View File

@@ -34,6 +34,7 @@ Our implementation currently intends to be the bare minimum required to get your
**Step 3: Include wrapper class source** **Step 3: Include wrapper class source**
- Drag `ZeroTierNetworkInterface.cs` into your `Assets` folder. - 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** **Step 4: Create and use a `ZeroTierNetworkInterface` object**
- See examples below for how to use it! - See examples below for how to use it!