docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Field ForcePrefabConversion

    Force the ghost baker to treat this GameObject as if it was a prefab. This is used if you want to programmatically create a ghost prefab as a GameObject and convert it to an Entity prefab with ConvertGameObjectHierarchy.

    Namespace: Unity.NetCode
    Assembly: solution.dll
    Syntax
    [NonSerialized]
    public bool ForcePrefabConversion
    Returns
    Type Description
    bool
    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)