Esempio n. 1
0
    private void Start()
    {
        AdmobManager.OnRewardPlayer += delegate { resetButtonImage.color = Color.green; };

        if (!FrameworkValues.UseAdmob)
        {
            statusImage.color = Color.yellow;
            return;
        }

        if (AdmobManager.IsAdmobInitialized())
        {
            statusImage.color = Color.green;
        }
        else
        {
            statusImage.color = Color.red;
        }
    }