docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetworkSceneManager.SceneMap

    Implements
    INetworkSerializable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public struct NetworkSceneManager.SceneMap : INetworkSerializable

    Fields

    LocalHandle

    Declaration
    public int LocalHandle
    Field Value
    Type Description
    int

    MapType

    Declaration
    public NetworkSceneManager.MapTypes MapType
    Field Value
    Type Description
    NetworkSceneManager.MapTypes

    MappedLocalHandle

    Declaration
    public int MappedLocalHandle
    Field Value
    Type Description
    int

    Scene

    Declaration
    public Scene Scene
    Field Value
    Type Description
    Scene

    SceneName

    Declaration
    public string SceneName
    Field Value
    Type Description
    string

    ScenePresent

    Declaration
    public bool ScenePresent
    Field Value
    Type Description
    bool

    ServerHandle

    Declaration
    public int ServerHandle
    Field Value
    Type Description
    int

    Methods

    NetworkSerialize<T>(BufferSerializer<T>)

    Provides bi-directional serialization to read and write the desired data to serialize this type.

    Declaration
    public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter
    Parameters
    Type Name Description
    BufferSerializer<T> serializer

    The serializer to use to read and write the data.

    Type Parameters
    Name Description
    T

    Either BufferSerializerReader or BufferSerializerWriter, depending whether the serializer is in read mode or write mode.

    Implements

    INetworkSerializable
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)