Class AdvertisementSettings
Inheritance
AdvertisementSettings
Assembly: UnityEditor.dll
Syntax
public static class AdvertisementSettings
Properties
enabled
Declaration
public static bool enabled { get; set; }
Property Value
initializeOnStartup
Declaration
public static bool initializeOnStartup { get; set; }
Property Value
testMode
Declaration
public static bool testMode { get; set; }
Property Value
Methods
Declaration
public static string GetGameId(RuntimePlatform platform)
Parameters
Returns
Declaration
public static string GetPlatformGameId(string platformName)
Parameters
Type |
Name |
Description |
String |
platformName |
|
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("No longer supported and will always return true")]
public static bool IsPlatformEnabled(RuntimePlatform platform)
Parameters
Returns
Declaration
public static void SetGameId(RuntimePlatform platform, string gameId)
Parameters
|
Improve this Doc
View Source
Declaration
[Obsolete("No longer supported and will do nothing")]
public static void SetPlatformEnabled(RuntimePlatform platform, bool value)
Parameters
Declaration
public static void SetPlatformGameId(string platformName, string gameId)
Parameters