This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This doesn't seem to work properly | |
| //#define USE_UNITY_PIN_FUNCTION | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using Unity.Collections; | |
| using Unity.Collections.LowLevel.Unsafe; | |
| using UnityEngine; | |
| using UnityEngine.Assertions; | |
| // Trick for creating a temporary NativeArray which points to the contents of a managed array. |