docs.unity.cn
    Show / Hide Table of Contents

    Class SpawnStateException

    Exception thrown when an object is not yet spawned

    Inheritance
    Object
    Exception
    SpawnStateException
    Namespace: Unity.Netcode
    Syntax
    public class SpawnStateException : Exception, ISerializable, _Exception

    Constructors

    SpawnStateException()

    Constructs a SpawnStateException

    Declaration
    public SpawnStateException()

    SpawnStateException(String)

    Constructs a SpawnStateException with a message

    Declaration
    public SpawnStateException(string message)
    Parameters
    Type Name Description
    String message

    The exception message

    SpawnStateException(String, Exception)

    Constructs a SpawnStateException with a message and a inner exception

    Declaration
    public SpawnStateException(string message, Exception inner)
    Parameters
    Type Name Description
    String message

    The exception message

    Exception inner

    The inner exception

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use