A set of LINQ-like extension methods specialized for NativeArray<T> and arrays of unmanaged types.
UniNativeLinq is designed to replace LINQ methods in Unity's Burst Job.
GC.Alloc is prohibited in Burst Jobs and thus System.Linq methods are not able to be used.
UniNativeLinq now includes all System.Linq like apis except ToLookp().
Find Packages/manifest.json in your project and edit it to look like this:
{
"dependencies": {
"uninativelinq": "https://github.com/pCYSl5EDgo/UniNativeLinq-EditorExtension.git#2018.4",
...
},
}Start your Unity Editor and click menu item Tools/UniNativeLinq/Import UniNativeLinq Essential Resources.
Import all necessary assets to initialize.
Select your working asmdef file to open the inspector.
Check General/Override References and Assembly References appears.
Add UniNativeLinq.dll to Assembly References.
All platforms are supported!
- 2018.4