Skip to main content

Struct NetworkSpawnSettings

Spawn Settings for

Syntax
[Serializable]
public struct NetworkSpawnSettings

Constructors

NetworkSpawnSettings(Boolean, Boolean, Boolean, Boolean, SyncActiveOption)

Declaration
public NetworkSpawnSettings(bool sendPosition, bool sendRotation, bool sendScale, bool sendName, SyncActiveOption sendActive)
Parameters
TypeNameDescription
System.BooleansendPosition
System.BooleansendRotation
System.BooleansendScale
System.BooleansendName
Mirage.SyncActiveOptionsendActive

NetworkSpawnSettings(Boolean, Boolean, Boolean)

Declaration
public NetworkSpawnSettings(bool sendPosition, bool sendRotation, bool sendScale)
Parameters
TypeNameDescription
System.BooleansendPosition
System.BooleansendRotation
System.BooleansendScale

Fields

SendPosition

Declaration
public bool SendPosition

SendRotation

Declaration
public bool SendRotation

SendScale

Declaration
public bool SendScale

SendName

Declaration
public bool SendName

SendActive

Declaration
public SyncActiveOption SendActive

Properties

Default

Declaration
public static NetworkSpawnSettings Default { get; }