docs.unity3d.com
    Show / Hide Table of Contents

    Class GhostSendSystem<TGhostSerializerCollection>

    Inheritance
    System.Object
    GhostSendSystem<TGhostSerializerCollection>
    __GHOST_SYSTEM_PREFIX__GhostSendSystem
    Namespace: Unity.NetCode
    Syntax
    [UpdateInGroup(typeof(ServerSimulationSystemGroup))]
    [UpdateAfter(typeof(TransformSystemGroup))]
    public class GhostSendSystem<TGhostSerializerCollection> : JobComponentSystem where TGhostSerializerCollection : struct, IGhostSerializerCollection
    Type Parameters
    Name Description
    TGhostSerializerCollection

    Methods

    InvokeSerialize<TSerializer, TSnapshotData>(TSerializer, SerializeData)

    Declaration
    public static int InvokeSerialize<TSerializer, TSnapshotData>(TSerializer serializer, SerializeData data)
        where TSerializer : struct, IGhostSerializer<TSnapshotData> where TSnapshotData : struct, ISnapshotData<TSnapshotData>
    Parameters
    Type Name Description
    TSerializer serializer
    SerializeData data
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    TSerializer
    TSnapshotData

    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