Show / Hide Table of Contents

Class AdvertisementSettings

Inheritance
Object
AdvertisementSettings
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor.Advertisements
Assembly: UnityEditor.dll
Syntax
public static class AdvertisementSettings

Properties

enabled

Declaration
public static bool enabled { get; set; }
Property Value
Type Description
Boolean

initializeOnStartup

Declaration
public static bool initializeOnStartup { get; set; }
Property Value
Type Description
Boolean

testMode

Declaration
public static bool testMode { get; set; }
Property Value
Type Description
Boolean

Methods

GetGameId(RuntimePlatform)

Declaration
public static string GetGameId(RuntimePlatform platform)
Parameters
Type Name Description
RuntimePlatform platform
Returns
Type Description
String

GetPlatformGameId(String)

Declaration
public static string GetPlatformGameId(string platformName)
Parameters
Type Name Description
String platformName
Returns
Type Description
String
| Improve this Doc View Source

IsPlatformEnabled(RuntimePlatform)

Declaration
[Obsolete("No longer supported and will always return true")]
public static bool IsPlatformEnabled(RuntimePlatform platform)
Parameters
Type Name Description
RuntimePlatform platform
Returns
Type Description
Boolean

SetGameId(RuntimePlatform, String)

Declaration
public static void SetGameId(RuntimePlatform platform, string gameId)
Parameters
Type Name Description
RuntimePlatform platform
String gameId
| Improve this Doc View Source

SetPlatformEnabled(RuntimePlatform, Boolean)

Declaration
[Obsolete("No longer supported and will do nothing")]
public static void SetPlatformEnabled(RuntimePlatform platform, bool value)
Parameters
Type Name Description
RuntimePlatform platform
Boolean value

SetPlatformGameId(String, String)

Declaration
public static void SetPlatformGameId(string platformName, string gameId)
Parameters
Type Name Description
String platformName
String gameId
  • Improve this Doc
  • View Source
Back to top Generated by DocFX