# AllocatorHelper(AllocatorHandle, bool, int)

> Allocate the custom allocator from backingAllocator and register it.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
[ExcludeFromBurstCompatTesting("CreateAllocator is unburstable")]
public AllocatorHelper(AllocatorManager.AllocatorHandle backingAllocator, bool isGlobal = false, int globalIndex = 0)
```

### Parameters

**** (\[AllocatorHandle]\(/engine/6000.7/script-reference/unity/collections/allocatormanager/allocatorhandle)): Allocator used to allocate backing storage.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Flag indicating if the allocator is a global allocator.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index into the global function table of the allocator to be created.
