docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property disableSnapColliderWhenSelected

    disableSnapColliderWhenSelected

    Automatically disable or enable the Snap Collider when the interactable is selected or deselected.

    Declaration
    public bool disableSnapColliderWhenSelected { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    This behavior will always automatically disable the Snap Collider when this behavior is disabled.

    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)