docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Create

    Create(NativeArray<ColliderBlobInstance>)

    Create a compound collider containing an array of other colliders. The source colliders are copied into the compound, so that it becomes one blob.

    Declaration
    public static BlobAssetReference<Collider> Create(NativeArray<CompoundCollider.ColliderBlobInstance> children)
    Parameters
    Type Name Description
    NativeArray<CompoundCollider.ColliderBlobInstance> children

    The children.

    Returns
    Type Description
    BlobAssetReference<Collider>

    A BlobAssetReference<Collider>

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)