public void getReward()
    {
        LivesManager _manager = GameObject.FindObjectOfType <LivesManager>();

        _manager.GiveInifinite(120);

        GameObject.FindObjectOfType <InitScript> ().AddGems(50);
    }
    public void getReward()
    {
        LivesManager _manager = GameObject.FindObjectOfType <LivesManager>();

        _manager.GiveInifinite(120);

        GameObject.FindObjectOfType <InitScript> ().AddGems(100);

        GameObject.FindObjectOfType <InitScript> ().BuyBoost(BoostType.Colorful_bomb, 0, 1);
        GameObject.FindObjectOfType <InitScript> ().BuyBoost(BoostType.Packages, 0, 1);
        GameObject.FindObjectOfType <InitScript> ().BuyBoost(BoostType.Stripes, 0, 1);
    }
示例#3
0
 public void InfiniteLives()
 {
     livesManager.GiveInifinite(10080);
 }
示例#4
0
 public void OnButtonInfinitePressed()
 {
     LivesManager.GiveInifinite(1);
 }