Class UnityCloudPlayerSettings
A class containing Unity Player Settings for a Unity Cloud app.
Inherited Members
Namespace: Unity.Cloud.AppLinking.Runtime
Assembly: Unity.Cloud.AppLinking.Runtime.dll
Syntax
public class UnityCloudPlayerSettings : ScriptableObject, IAppIdProvider, IAppNamespaceProvider
Fields
AppDisplayName
The Unity Cloud app display name.
Declaration
public string AppDisplayName
Field Value
Type | Description |
---|---|
string |
AppId
The Unity Cloud app ID.
Declaration
public string AppId
Field Value
Type | Description |
---|---|
string |
AppName
The Unity Cloud app name.
Declaration
public string AppName
Field Value
Type | Description |
---|---|
string |
AppNamespace
The Unity Cloud namespace to uniquely identify the app on the device.
Declaration
public string AppNamespace
Field Value
Type | Description |
---|---|
string |
Remarks
Please note that AppNamespace string value must respect basic RFC 3986 definition for URI scheme. Additionally, for safe URL transport purpose, usage of lower-case letters is recommended.
AppOrganizationID
The Unity Cloud app organization ID.
Declaration
public string AppOrganizationID
Field Value
Type | Description |
---|---|
string |
k_AssetName
The asset name for the UnityCloudPlayerSettings scriptable object.
Declaration
[Obsolete("Property will be removed in future version.")]
public const string k_AssetName = "UnityCloudPlayerSettings"
Field Value
Type | Description |
---|---|
string |
k_DefaultAppDisplayName
The default app display name.
Declaration
[Obsolete("Property will be removed in future version.")]
public const string k_DefaultAppDisplayName = "Default"
Field Value
Type | Description |
---|---|
string |
k_DefaultAppName
The default app name.
Declaration
[Obsolete("Property will be removed in future version.")]
public const string k_DefaultAppName = "default"
Field Value
Type | Description |
---|---|
string |
k_DefaultNamespace
The default app namespace.
Declaration
[Obsolete("Property will be removed in future version.")]
public const string k_DefaultNamespace = "com.unity.cloud"
Field Value
Type | Description |
---|---|
string |
k_DefaultOrganizationID
The default app organization Id.
Declaration
[Obsolete("Property will be removed in future version.")]
public const string k_DefaultOrganizationID = "Default"
Field Value
Type | Description |
---|---|
string |
Properties
Instance
Gets or creates the current instance of the UnityCloudPlayerSettings.
Declaration
public static UnityCloudPlayerSettings Instance { get; }
Property Value
Type | Description |
---|---|
UnityCloudPlayerSettings |
Methods
GetAppId()
Gets the app ID.
Declaration
public AppId GetAppId()
Returns
Type | Description |
---|---|
AppId | The app ID. |
GetAppNamespace()
Gets the app namespace.
Declaration
public string GetAppNamespace()
Returns
Type | Description |
---|---|
string | The app namespace. |
GetAppOrganization()
Gets the app organization ID.
Declaration
public string GetAppOrganization()
Returns
Type | Description |
---|---|
string | The app organization ID. |