Class SpawnStateException
Exception thrown when an object is not yet spawned
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 |