Photon Unity Networking 2
2.50
Settings for Photon application(s) and the server to connect to. More...
Public Attributes | |
| string | AppIdChat |
| AppId for the Chat Api. More... | |
| string | AppVersion |
| The AppVersion can be used to identify builds and will split the AppId distinct "Virtual AppIds" (important for the users to find each other). More... | |
| string | FixedRegion |
| Can be set to any of the Photon Cloud's region names to directly connect to that region. More... | |
| string | Server |
| The address (hostname or IP) of the server to connect to. More... | |
| ushort | Port |
| If not null, this sets the port of the first Photon server to connect to (that will "forward" the client as needed). More... | |
| string | ProxyServer |
| The address (hostname or IP and port) of the proxy server. More... | |
| ConnectionProtocol | Protocol = ConnectionProtocol.Udp |
| The network level protocol to use. More... | |
| bool | EnableProtocolFallback = true |
| Enables a fallback to another protocol in case a connect to the Name Server fails. More... | |
| DebugLevel | NetworkLogging = DebugLevel.ERROR |
| Log level for the network lib. More... | |
Properties | |
| bool | IsDefaultNameServer [get] |
| If true, the default nameserver address for the Photon Cloud should be used. More... | |
Settings for Photon application(s) and the server to connect to.
This is Serializable for Unity, so it can be included in ScriptableObject instances.
| string AppIdChat |
AppId for the Chat Api.
| string AppVersion |
The AppVersion can be used to identify builds and will split the AppId distinct "Virtual AppIds" (important for the users to find each other).
| bool EnableProtocolFallback = true |
Enables a fallback to another protocol in case a connect to the Name Server fails.
See: LoadBalancingClient.EnableProtocolFallback.
| string FixedRegion |
Can be set to any of the Photon Cloud's region names to directly connect to that region.
| DebugLevel NetworkLogging = DebugLevel.ERROR |
Log level for the network lib.
| ushort Port |
If not null, this sets the port of the first Photon server to connect to (that will "forward" the client as needed).
| ConnectionProtocol Protocol = ConnectionProtocol.Udp |
The network level protocol to use.
| string ProxyServer |
The address (hostname or IP and port) of the proxy server.
| string Server |
The address (hostname or IP) of the server to connect to.
|
get |
If true, the default nameserver address for the Photon Cloud should be used.