docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property snapToCollider

    snapToCollider

    (Optional) The collider that will be used to find the closest point to snap to. If this is null, then the associated IXRInteractable transform's position or this GameObject's transform position will be used as the snap point.

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