docs.unity.cn
    Show / Hide Table of Contents

    Struct SpawnedGhostEntityMap

    Singleton entity used store the entities references for all the spawned ghost.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    public struct SpawnedGhostEntityMap : IComponentData, IQueryTypeParameter

    Fields

    Value

    Updated by the GhostReceiveSystem and the GhostSendSystem when a ghost is spawned/despawned, let you retrieve the spawned ghost entity reference from the ghost SpawnedGhost identity.

    Declaration
    public NativeParallelHashMap<SpawnedGhost, Entity>.ReadOnly Value
    Field Value
    Type Description
    NativeParallelHashMap.ReadOnly<>
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023