示例#1
0
    protected override void Collect(GameManager PlayerGameManager)
    {
        RewardMob RMInstance = RewardMob.instance;

        if (RMInstance != null)
        {
            RMInstance.SendReward("This is your reward!", 1);
        }

        base.Collect(PlayerGameManager);
    }
示例#2
0
    public void ShowDeathMenu()
    {
        RMInstance = RewardMob.instance;

        EndGameMenuGO.SetActive(true);
        DeathBackgroundGO.SetActive(true);
        TimeUpBackgroundGO.SetActive(false);
        if (RMInstance != null)
        {
            RMInstance.ShowButton();
        }
        StartCoroutine(ShowAd());
    }