Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings.
More...
Inherits ScriptableObject.
|
void | UseCloud (string cloudAppid, string code="") |
| Sets appid and region code in the AppSettings. Used in Editor. More...
|
|
override string | ToString () |
| String summary of the AppSettings. More...
|
|
|
AppSettings | AppSettings |
|
string | DevRegion |
| Region that will be used by the Editor and Development Builds. This ensures all users will be in the same region for testing. More...
|
|
PunLogLevel | PunLogging = PunLogLevel.ErrorsOnly |
|
bool | EnableSupportLogger |
|
bool | RunInBackground = true |
|
bool | StartInOfflineMode |
|
List< string > | RpcList = new List<string>() |
|
Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings.
Includes the AppSettings class from the Realtime APIs plus some other, PUN-relevant, settings.
◆ IsAppId()
static bool IsAppId |
( |
string |
val | ) |
|
|
static |
Checks if a string is a Guid by attempting to create one.
- Parameters
-
val | The potential guid to check. |
- Returns
- True if new Guid(val) did not fail.
◆ ResetBestRegionCodeInPreferences()
static void ResetBestRegionCodeInPreferences |
( |
| ) |
|
|
static |
Sets the "best region summary" in the preferences to null. On next start, the client will ping all available.
◆ ToString()
override string ToString |
( |
| ) |
|
String summary of the AppSettings.
◆ UseCloud()
void UseCloud |
( |
string |
cloudAppid, |
|
|
string |
code = "" |
|
) |
| |
Sets appid and region code in the AppSettings. Used in Editor.
◆ DevRegion
Region that will be used by the Editor and Development Builds. This ensures all users will be in the same region for testing.
◆ BestRegionSummaryInPreferences
string BestRegionSummaryInPreferences |
|
staticget |
Gets the "best region summary" from the preferences.
The best region code in preferences.