ドキュメント

Unity Engine

Unity Engine

AdvertisementSettings

Editor API for the Unity Services editor feature. Normally UnityAds is enabled from the Services window, but if writing your own editor extension, this API can be used.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static class AdvertisementSettings

Static Properties

Property

Description

enabledGlobal boolean for enabling or disabling the advertisement feature.
initializeOnStartupControls if the advertisement system should be initialized immediately on startup.
testModeControls if testing advertisements are used instead of production advertisements.

Static Methods

Method

Description

GetGameIdGets the game identifier specified for a runtime platform.
GetPlatformGameIdGets the game identifier specified for a runtime platform.
SetGameIdSets the game identifier for the specified platform.
SetPlatformGameIdSets the game identifier for the specified platform.