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
Type | Name | Description |
---|---|---|
System.Boolean | sendPosition | |
System.Boolean | sendRotation | |
System.Boolean | sendScale | |
System.Boolean | sendName | |
Mirage.SyncActiveOption | sendActive |
NetworkSpawnSettings(Boolean, Boolean, Boolean)
Declaration
public NetworkSpawnSettings(bool sendPosition, bool sendRotation, bool sendScale)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | sendPosition | |
System.Boolean | sendRotation | |
System.Boolean | sendScale |
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; }