-----------------------------------------------------------------------------------
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class NewBehaviourScript : MonoBehaviour {
Text mytxt0;
Text mytxt00;
Text mytxt1;
Text mytxt2;
Text mytxt3;
Text mytxt4;
Text mytxt5;
Text mytxt6;
Text mytxt7;
Text mytxt8;
Text mytxt9;
Text mytxt10;
Image imag1;
Image imag2;
Image imag3;
Image imag4;
Image imag5;
Image imag6;
Image imag7;
Image imag8;
Image imag9;
Image imag10;
int money1 = 100;
int money2 = 0;
int txt1 = 0;
int txt2 = 0;
int txt3 = 0;
int txt4 = 0;
int txt5 = 0;
int txt6 = 0;
int txt7 = 0;
int txt8 = 0;
int txt9 = 0;
int txt10 = 0;
// Use this for initialization
void Start () {
mytxt0= GameObject.Find("Canvas/Panel/Text2").GetComponent<Text>();
mytxt00 = GameObject.Find("Canvas/Panel/Text4").GetComponent<Text>();
mytxt1 = GameObject.Find("Canvas/Panel/Button1/Text").GetComponent<Text>();
mytxt2 = GameObject.Find("Canvas/Panel/Button2/Text").GetComponent<Text>();
mytxt3= GameObject.Find("Canvas/Panel/Button3/Text").GetComponent<Text>();
mytxt4 = GameObject.Find("Canvas/Panel/Button4/Text").GetComponent<Text>();
mytxt5 = GameObject.Find("Canvas/Panel/Button5/Text").GetComponent<Text>();
mytxt6 = GameObject.Find("Canvas/Panel/Button6/Text").GetComponent<Text>();
mytxt7 = GameObject.Find("Canvas/Panel/Button7/Text").GetComponent<Text>();
mytxt8 = GameObject.Find("Canvas/Panel/Button8/Text").GetComponent<Text>();
mytxt9 = GameObject.Find("Canvas/Panel/Button9/Text").GetComponent<Text>();
mytxt10 = GameObject.Find("Canvas/Panel/Button10/Text").GetComponent<Text>();
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
// Update is called once per frame
void Update () {
}
public void myfun()
{
int num = 0;
num = Random.Range(0, 24);
if (num == 0)
{
money1 = money1 + 20 * txt6;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 1)
{
money1 = money1 + 2 * txt1;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 2)
{
money1 = money1 + 25 * txt6;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 3)
{
money1 = money1 + 5 * txt2;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 4)
{
money1 = money1 + 10 * txt3;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 5)
{
money1 = money1 + 2 * txt1;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 6)
{
money1 = money1 + 5 * txt2;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 7)
{
money1 = money1 + 20 * txt5;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 8)
{
money1 = money1 + 40 * txt8;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 9)
{
money1 = money1 + 100 * txt10;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 10)
{
money1 = money1 + 15 * txt4;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 11)
{
money1 = money1 + 2 * txt1;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 12)
{
money1 = money1 + 10 * txt3;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 13)
{
money1 = money1 + 50 * txt9;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 14)
{
money1 = money1 + 12 * txt1;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 15)
{
money1 = money1 + 5 * txt2;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 16)
{
money1 = money1 + 30 * txt7;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 17)
{
money1 = money1 + 25 * txt6;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 18)
{
money1 = money1 + 15 * txt4;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 19)
{
money1 = money1 + 2 * txt1;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 20)
{
money1 = money1 + 2 * txt1;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 21)
{
money1 = money1 + 15 * txt4;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 22)
{
money1 = money1 + 5 * txt2;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
}
if (num == 23)
{
money1 = money1 + 20 * txt5;
money2 = 0;
Image imag1 = GameObject.Find("Image1").GetComponent<Image>();
imag1.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag2 = GameObject.Find("Image2").GetComponent<Image>();
imag2.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag3 = GameObject.Find("Image3").GetComponent<Image>();
imag3.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag4 = GameObject.Find("Image4").GetComponent<Image>();
imag4.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag5 = GameObject.Find("Image5").GetComponent<Image>();
imag5.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag6 = GameObject.Find("Image6").GetComponent<Image>();
imag6.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag7 = GameObject.Find("Image7").GetComponent<Image>();
imag7.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag8 = GameObject.Find("Image8").GetComponent<Image>();
imag8.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag9 = GameObject.Find("Image9").GetComponent<Image>();
imag9.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag10 = GameObject.Find("Image10").GetComponent<Image>();
imag10.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag11 = GameObject.Find("Image11").GetComponent<Image>();
imag11.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag12 = GameObject.Find("Image12").GetComponent<Image>();
imag12.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag13 = GameObject.Find("Image13").GetComponent<Image>();
imag13.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag14 = GameObject.Find("Image14").GetComponent<Image>();
imag14.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag15 = GameObject.Find("Image15").GetComponent<Image>();
imag15.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag16 = GameObject.Find("Image16").GetComponent<Image>();
imag16.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag17 = GameObject.Find("Image17").GetComponent<Image>();
imag17.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag18 = GameObject.Find("Image18").GetComponent<Image>();
imag18.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag19 = GameObject.Find("Image19").GetComponent<Image>();
imag19.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag20 = GameObject.Find("Image20").GetComponent<Image>();
imag20.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag21 = GameObject.Find("Image21").GetComponent<Image>();
imag21.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag22 = GameObject.Find("Image22").GetComponent<Image>();
imag22.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag23 = GameObject.Find("Image23").GetComponent<Image>();
imag23.color = new Color(0.0F, 0.0F, 0.0F, 0.0F);
Image imag24 = GameObject.Find("Image24").GetComponent<Image>();
imag24.color = new Color(1.0F, 0.0F, 0.0F, 1.0F);
}
txt1 = 0;
txt2 = 0;
txt3 = 0;
txt4 = 0;
txt5 = 0;
txt6 = 0;
txt7 = 0;
txt8 = 0;
txt9 = 0;
txt10 = 0;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun1()
{
money1 = money1 - 1;
money2 = money2 + 2;
txt1 = txt1 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun2()
{
money1 = money1 - 1;
money2 = money2 + 5;
txt2 = txt2 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun3()
{
money1 = money1 - 1;
money2 = money2 + 10;
txt3 = txt3 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun4()
{
money1 = money1 - 1;
money2 = money2 + 15;
txt4 = txt4 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun5()
{
money1 = money1 - 1;
money2 = money2 + 20;
txt5 = txt5 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun6()
{
money1 = money1 - 1;
money2 = money2 + 25;
txt6 = txt6 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun7()
{
money1 = money1 - 1;
money2 = money2 + 30;
txt7 = txt7 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun8()
{
money1 = money1 - 1;
money2 = money2 + 40;
txt8 = txt8 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun9()
{
money1 = money1 - 1;
money2 = money2 + 50;
txt9 = txt9 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
public void myfun10()
{
money1 = money1 - 1;
money2 = money2 + 100;
txt10 = txt10 + 1;
mytxt0.text = money1.ToString();
mytxt00.text = money2.ToString();
mytxt1.text = txt1.ToString();
mytxt2.text = txt2.ToString();
mytxt3.text = txt3.ToString();
mytxt4.text = txt4.ToString();
mytxt5.text = txt5.ToString();
mytxt6.text = txt6.ToString();
mytxt7.text = txt7.ToString();
mytxt8.text = txt8.ToString();
mytxt9.text = txt9.ToString();
mytxt10.text = txt10.ToString();
}
}