Struct PreferredScene
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FishNet.Managing.Scened
Assembly: FishNet.Runtime.dll
Syntax
public struct PreferredScene
Constructors
PreferredScene(SceneLookupData)
Sets the same preferred scene for client and server.
Declaration
public PreferredScene(SceneLookupData sld)
Parameters
Type | Name | Description |
---|---|---|
SceneLookupData | sld |
PreferredScene(SceneLookupData, SceneLookupData)
Sets an individual preferred scene for client and server.
Declaration
public PreferredScene(SceneLookupData client, SceneLookupData server)
Parameters
Type | Name | Description |
---|---|---|
SceneLookupData | client | |
SceneLookupData | server |
Fields
Client
Preferred scene for the client.
Declaration
public SceneLookupData Client
Field Value
Type | Description |
---|---|
SceneLookupData |
Server
Preferred scene for the server.
Declaration
public SceneLookupData Server
Field Value
Type | Description |
---|---|
SceneLookupData |