timcassell / ProtoPromise

Robust and efficient library for management of asynchronous operations in C#/.Net.
MIT License
173 stars 13 forks source link

Use `UnsafeUtility` in Unity 2020 #253

Closed timcassell closed 1 year ago

timcassell commented 1 year ago

Currently we only use Unsafe.As in net5.0 or newer. Unity provides a similar utility in 2020+. https://docs.unity3d.com/2020.1/Documentation/ScriptReference/Unity.Collections.LowLevel.Unsafe.UnsafeUtility.As.html