Try(ref Block)
Tries to allocate the block with this allocator.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Try(Block)
public int Try(ref AllocatorManager.Block block)
Parameters
The block to allocate.
Returns
Type | Description |
|---|---|
| int | 0 if successful. Otherwise, returns an error code. |