Initialize

Description

Initializes the plugin. Should be called only once at the beginning of your app. No other method will work until Initialize is called.

Declaration

public static void Initialize(UnityAction completeMethod = null)

Parameters

NameDescription

completeMethod

Callback called when initialization is complete.

Example

public class Test : MonoBehaviour
{
    private void Start()
    {
        Gley.MobileAds.API.Initialize();
    }
}

Last updated