docs.unity3d.com
    Show / Hide Table of Contents

    Struct __GHOST_NAME__GhostSerializer

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Global Namespace
    Syntax
    public struct __GHOST_NAME__GhostSerializer : IGhostSerializer<__GHOST_NAME__SnapshotData>

    Properties

    SnapshotSize

    Declaration
    public readonly int SnapshotSize { get; }
    Property Value
    Type Description
    System.Int32

    WantsPredictionDelta

    Declaration
    public readonly bool WantsPredictionDelta { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BeginSerialize(ComponentSystemBase)

    Declaration
    public void BeginSerialize(ComponentSystemBase system)
    Parameters
    Type Name Description
    ComponentSystemBase system

    CalculateImportance(ArchetypeChunk)

    Declaration
    public int CalculateImportance(ArchetypeChunk chunk)
    Parameters
    Type Name Description
    ArchetypeChunk chunk
    Returns
    Type Description
    System.Int32

    CanSerialize(EntityArchetype)

    Declaration
    public bool CanSerialize(EntityArchetype arch)
    Parameters
    Type Name Description
    EntityArchetype arch
    Returns
    Type Description
    System.Boolean

    CopyToSnapshot(ArchetypeChunk, Int32, UInt32, ref __GHOST_NAME__SnapshotData, GhostSerializerState)

    Declaration
    public void CopyToSnapshot(ArchetypeChunk chunk, int ent, uint tick, ref __GHOST_NAME__SnapshotData snapshot, GhostSerializerState serializerState)
    Parameters
    Type Name Description
    ArchetypeChunk chunk
    System.Int32 ent
    System.UInt32 tick
    __GHOST_NAME__SnapshotData snapshot
    GhostSerializerState serializerState
    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