docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property collider

    collider

    The collider associated with the point. Returns null if the distance calculation doesn't involve colliders, or if there is no valid collider for calculation.

    Declaration
    public Collider collider { get; set; }
    Property Value
    Type Description
    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)