Class AchievementSdkGuidance
The sentences a gateway says when its storefront SDK is not there, so every platform points the reader at the same place instead of inventing its own wording.
Inherited Members
Namespace: Serenity.Achievements.Infrastructure.Platforms.Gateways
Assembly: Serenity.UnityAchievements.Infrastructure.dll
Syntax
public static class AchievementSdkGuidance
Remarks
Runtime rather than editor code because the gateway that has to say it is runtime code: a developer meets this message in the console of a play session, not in an inspector. The window it names is editor-only, which is exactly why the text lives here and the window does not have to be reachable to describe it.
Fields
DoctorMenuPath
The editor window that reports which storefront SDKs are installed and enabled.
Declaration
public const string DoctorMenuPath = "Tools ▸ Serenity ▸ Validate ▸ Achievement Platform SDKs"
Field Value
| Type | Description |
|---|---|
| string |
Methods
LicenseeOnlySdk(string)
Says that the SDK behind a platform cannot ship inside Serenity, and what to do instead.
Declaration
public static string LicenseeOnlySdk(string sdkName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sdkName | The SDK the licensee has to obtain themselves. |
Returns
| Type | Description |
|---|---|
| string | The sentence to append to a warning. |
MissingScriptingDefine(string)
Says that a scripting define the gateway needs is not set, and where to set it.
Declaration
public static string MissingScriptingDefine(string scriptingDefine)
Parameters
| Type | Name | Description |
|---|---|---|
| string | scriptingDefine | The define that enables the real gateway. |
Returns
| Type | Description |
|---|---|
| string | The sentence to append to a warning. |
PlatformNotTargeted(string, string)
Says that this build does not target the platform at all, so nothing could reach it.
Declaration
public static string PlatformNotTargeted(string platformName, string scriptingDefine)
Parameters
| Type | Name | Description |
|---|---|---|
| string | platformName | The platform the gateway stands for. |
| string | scriptingDefine | The define Unity sets for that build target. |
Returns
| Type | Description |
|---|---|
| string | The sentence to append to a warning. |