Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     //ClickNum = ClicksChanger2.ClickNum;
     ClickNum          = 299995; // For debug
     ResourceNum       = ClicksChanger2.ResourceNum;
     MoneyNum          = ClicksChanger2.MoneyNum;
     AutoClick         = ClicksChanger2.AutoClick;
     AutoConvert       = ClicksChanger2.AutoConvert;
     AutoClickPrice    = 35;
     CurrentMarketing  = 0;
     CurrentExchange   = 12;
     Clicks.text       = "Paperplanes: " + ClickNum.ToString();
     Resources.text    = "Paper: " + ResourceNum.ToString();
     Money.text        = "Money: " + MoneyNum.ToString();
     AutoClickNum.text = "AutoFolders: " + AutoClick.ToString();
     AutoClickSec.text = "Fold/0.1s: " + (AutoClick * 10).ToString();
     if (AutoConvert == 0)
     {
         AutoConvertON.text = "AutoConverter: OFF";
     }
     else
     {
         AutoConvertON.text = "AutoConverter: ON";
     }
     CurrentMarketingLev.text   = "Marketing: Lv. " + CurrentMarketing.ToString();
     CurrentExchangeRate.text   = "Ratio: $10 : &" + CurrentExchange.ToString();
     CurrentAutoClickPrice.text = "AutoFolder Price: &" + AutoClickPrice.ToString();
 }
Beispiel #2
0
    // Start is called before the first frame update
    void Start()
    {
        ClickNum         = ClicksChanger3.ClickNum;
        ResourceNum      = ClicksChanger3.ResourceNum;
        MoneyNum         = ClicksChanger3.MoneyNum;
        AutoClick        = ClicksChanger3.AutoClick;
        AutoConvert      = ClicksChanger3.AutoConvert;
        CurrentMarketing = ClicksChanger3.CurrentMarketing;
        CurrentExchange  = ClicksChanger3.CurrentExchange;
        AutoClickPrice   = ClicksChanger3.AutoClickPrice;

        Clicks.text       = "Paperplanes: " + ClickNum.ToString();
        Resources.text    = "Paper: " + ResourceNum.ToString();
        Money.text        = "Money: " + MoneyNum.ToString();
        AutoClickNum.text = "AutoFolders: " + AutoClick.ToString();
        AutoClickSec.text = "Fold/0.1s: " + (AutoClick * 10).ToString();
        if (AutoConvert == 0)
        {
            AutoConvertON.text = "AutoConverter: OFF";
        }
        else
        {
            AutoConvertON.text = "AutoConverter: ON";
        }
        CurrentMarketingLev.text   = "Marketing: Lv. " + CurrentMarketing.ToString();
        CurrentExchangeRate.text   = "Ratio: $10 : $" + CurrentExchange.ToString();
        RemainingTime.text         = "Time Left: " + minute.ToString() + " : " + second.ToString();
        CurrentAutoClickPrice.text = "AutoFolder Price: &" + AutoClickPrice.ToString();
    }
Beispiel #3
0
 public void MarketingInvestmentButton()
 {
     int[] MarketingPrice = new int[] { 0, 200, 2000, 10000, 50000 };
     if (CurrentMarketing < 4 && MoneyNum >= MarketingPrice[CurrentMarketing + 1])
     {
         CurrentMarketing++;
         CurrentExchange         *= 2;
         MoneyNum                -= MarketingPrice[CurrentMarketing];
         CurrentMarketingLev.text = "Marketing: Lv. " + CurrentMarketing.ToString();
         CurrentExchangeRate.text = "Ratio: $10 : &" + CurrentExchange.ToString();
     }
 }