Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.
class in UnityEditor.Advertisements
Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.
CerrarPor alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.
CerrarEditor 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.
enabled | Global boolean for enabling or disabling the advertisement feature. |
initializeOnStartup | Controls if the advertisement system should be initialized immediately on startup. |
testMode | Controls if testing advertisements are used instead of production advertisements. |
GetGameId | Gets the game identifier specified for a runtime platform. |
IsPlatformEnabled | Returns if a specific platform is enabled. |
SetGameId | Sets the game identifier for the specified platform. |
SetPlatformEnabled | Enable the specific platform. |