Class GhostSendSystem<TGhostSerializerCollection> | Unity NetCode | 0.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class GhostSendSystem<TGhostSerializerCollection>

    Inheritance
    Object
    GhostSendSystem<TGhostSerializerCollection>
    Namespace: Unity.NetCode
    Syntax
    public class GhostSendSystem<TGhostSerializerCollection> : JobComponentSystem where TGhostSerializerCollection : struct, IGhostSerializerCollection
    Type Parameters
    Name Description
    TGhostSerializerCollection

    Methods

    InvokeSerialize<TSerializer, TSnapshotData>(TSerializer, ref DataStreamWriter, SerializeData)

    Declaration
    public static int InvokeSerialize<TSerializer, TSnapshotData>(TSerializer serializer, ref DataStreamWriter dataStream, SerializeData data)
        where TSerializer : struct, IGhostSerializer<TSnapshotData> where TSnapshotData : struct, ISnapshotData<TSnapshotData>
    Parameters
    Type Name Description
    TSerializer serializer
    DataStreamWriter dataStream
    SerializeData data
    Returns
    Type Description
    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 © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023