docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WorldPositionStays

    WorldPositionStays()

    Returns the last known cached WorldPositionStays value for this NetworkObject

    Declaration
    public bool WorldPositionStays()
    Returns
    Type Description
    bool

    true or false

    Remarks

    When parenting NetworkObjects, the optional WorldPositionStays value is cached and synchronized with clients. This method provides access to the instance relative cached value. TrySetParent(GameObject, bool) TrySetParent(NetworkObject, bool) TrySetParent(Transform, bool)

    In This Article
    Back to top
    Copyright © 2024 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)