docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Constructor SpawnedGhost

    SpawnedGhost(in GhostInstance)

    Construct a SpawnedEntity from a GhostInstance

    Declaration
    public SpawnedGhost(in GhostInstance ghostInstance)
    Parameters
    Type Name Description
    GhostInstance ghostInstance

    The ghost from witch t

    SpawnedGhost(int, NetworkTick)

    Construct a SpawnedEntity using the ghost identifier and the spawn tick>

    Declaration
    public SpawnedGhost(int ghostId, NetworkTick spawnTick)
    Parameters
    Type Name Description
    int ghostId
    NetworkTick spawnTick
    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)