docs.unity.cn
    Show / Hide Table of Contents

    Struct PrespawnSectionAck

    Component added by the server to to the NetworkStream entity. Used to track witch prespawned ghost sections has been loaded/acked by the client. The server streams prespawned ghost only for the sections that as been notified ready by the client.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    [InternalBufferCapacity(0)]
    public struct PrespawnSectionAck : IBufferElementData

    Fields

    SceneHash

    Deterministic unique Hash for each sub-scene that contains pre-spawned ghost. See SubSceneWithPrespawnGhosts

    Declaration
    public ulong SceneHash
    Field Value
    Type Description
    UInt64
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023