docs.unity3d.com
    Show / Hide Table of Contents

    Class GhostReceiveSystem<TGhostDeserializerCollection>

    Inheritance
    System.Object
    GhostReceiveSystem<TGhostDeserializerCollection>
    __GHOST_SYSTEM_PREFIX__GhostReceiveSystem
    Namespace: Unity.NetCode
    Syntax
    [UpdateInGroup(typeof(ClientSimulationSystemGroup))]
    [UpdateBefore(typeof(GhostSimulationSystemGroup))]
    public class GhostReceiveSystem<TGhostDeserializerCollection> : JobComponentSystem where TGhostDeserializerCollection : struct, IGhostDeserializerCollection
    Type Parameters
    Name Description
    TGhostDeserializerCollection

    Methods

    InvokeDeserialize<T>(BufferLookup<T>, Entity, UInt32, UInt32, UInt32, UInt32, DataStreamReader, ref DataStreamReader.Context, NetworkCompressionModel)

    Declaration
    public static bool InvokeDeserialize<T>(BufferLookup<T> snapshotFromEntity, Entity entity, uint snapshot, uint baseline, uint baseline2, uint baseline3, DataStreamReader reader, ref DataStreamReader.Context ctx, NetworkCompressionModel compressionModel)
        where T : struct, ISnapshotData<T>
    Parameters
    Type Name Description
    BufferLookup<T> snapshotFromEntity
    Entity entity
    System.UInt32 snapshot
    System.UInt32 baseline
    System.UInt32 baseline2
    System.UInt32 baseline3
    DataStreamReader reader
    Unity.Collections.DataStreamReader.Context ctx
    NetworkCompressionModel compressionModel
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    InvokeSpawn<T>(UInt32, DataStreamReader, ref DataStreamReader.Context, NetworkCompressionModel)

    Declaration
    public static T InvokeSpawn<T>(uint snapshot, DataStreamReader reader, ref DataStreamReader.Context ctx, NetworkCompressionModel compressionModel)
        where T : struct, ISnapshotData<T>
    Parameters
    Type Name Description
    System.UInt32 snapshot
    DataStreamReader reader
    Unity.Collections.DataStreamReader.Context ctx
    NetworkCompressionModel compressionModel
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    OnCreate()

    Declaration
    protected override void OnCreate()

    OnDestroy()

    Declaration
    protected override void OnDestroy()

    OnUpdate(JobHandle)

    Declaration
    protected override JobHandle OnUpdate(JobHandle inputDeps)
    Parameters
    Type Name Description
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle
    Back to top
    Copyright © 2025 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 02 April 2025