docs.unity.cn
    Show / Hide Table of Contents

    Method Try

    Try(ref AllocatorManager.Block)

    Invoke the allocator function.

    Declaration
    public int Try(ref AllocatorManager.Block block)
    Parameters
    Type Name Description
    AllocatorManager.Block block

    The block to allocate, deallocate, or reallocate. See Try(ref AllocatorManager.Block)

    Returns
    Type Description
    Int32

    0 if successful. Otherwise, returns the error code from the allocator function.

    Implements
    AllocatorManager.IAllocator.Try(ref AllocatorManager.Block)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use