// Update is called once per frame public void setLine(int i) { switch (i) { case 0: { readyAni.SetTrigger("on"); Qs.SetActive(true); Enter.SetActive(true); EQ.SetActive(true); on[8] = false; } break; case 1: { readyAni.SetTrigger("on"); As.SetActive(true); Enter.SetActive(true); EA.SetActive(true); on[8] = false; } break; case 2: { readyAni.SetTrigger("on"); Zs.SetActive(true); Enter.SetActive(true); EZ.SetActive(true); on[8] = false; } break; } }
public void Execute() { ProgressChanged(0, maxMoney); if (A >= maxMoney) { if (!messageflag) { GuiLogMessage("A's amount of money (" + A + ") must be smaller than the maximum amount (" + maxMoney + ").", NotificationLevel.Error); } messageflag = true; return; } Ys.Add(Y); if (Ys.Count == maxMoney) { for (int i = 0; i < maxMoney; i++) { BigInteger z = Ys[i] % p; Zs.Add(i <= A ? z : z + 1); } OnPropertyChanged("Zs"); } ProgressChanged(Ys.Count, maxMoney); }
public c3ds(int zs, int ys, int xs, string titles) { int i = 0; title = titles; z = new Zs[zs]; for (i = 0; i < zs; i++) { z[i] = new Zs(ys, xs); } }