ドキュメント

Unity Engine

Unity Engine

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

block

The block to allocate.

Returns

Type

Description

int0 if successful. Otherwise, returns an error code.