水果盤
--------------------------------------------------------------------------------------------------------------------------
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class NewBehaviourScript : MonoBehaviour
{
Text mytxt12;
Text mytxt14;
Text Button;
Text Button1;
Text Button2;
Text Button3;
Text Button4;
Text Button5;
Text Button6;
Text Button7;
Text Button8;
Text Button9;
Text Image;
Text Image1;
Text Image2;
Text Image3;
Text Image4;
Text Image5;
Text Image6;
Text Image7;
Text Image8;
Text Image9;
Text Image10;
Text Image11;
Text Image12;
Text Image13;
Text Image14;
Text Image15;
Text Image16;
Text Image17;
Text Image18;
Text Image19;
Text Image20;
Text Image21;
Text Image22;
Text Image23;
int mymoney1 = 0;
int mymoney2 = 0;
int mymoney3 = 0;
int mymoney4 = 0;
int mymoney5 = 0;
int mymoney6 = 0;
int mymoney7 = 0;
int mymoney8 = 0;
int mymoney9 = 0;
int mymoney10 = 0;
int mymoney11 = 1000;
int mymoney12 = 0;
// Use this for initialization
void Start()
{
Image img = GameObject.Find("Image").GetComponent<Image>();
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
mytxt12 = GameObject.Find("Canvas/Panel/Text12").GetComponent<Text>();
mytxt14 = GameObject.Find("Canvas/Panel/Text14").GetComponent<Text>();
Button = GameObject.Find("Canvas/Panel/Button/Text").GetComponent<Text>();
Button1 = GameObject.Find("Canvas/Panel/Button1/Text").GetComponent<Text>();
Button2 = GameObject.Find("Canvas/Panel/Button2/Text").GetComponent<Text>();
Button3 = GameObject.Find("Canvas/Panel/Button3/Text").GetComponent<Text>();
Button4 = GameObject.Find("Canvas/Panel/Button4/Text").GetComponent<Text>();
Button5 = GameObject.Find("Canvas/Panel/Button5/Text").GetComponent<Text>();
Button6 = GameObject.Find("Canvas/Panel/Button6/Text").GetComponent<Text>();
Button7 = GameObject.Find("Canvas/Panel/Button7/Text").GetComponent<Text>();
Button8 = GameObject.Find("Canvas/Panel/Button8/Text").GetComponent<Text>();
Button9 = GameObject.Find("Canvas/Panel/Button9/Text").GetComponent<Text>();
Image = GameObject.Find("Canvas/Panel/Image/Text").GetComponent<Text>();
Image1 = GameObject.Find("Canvas/Panel/Image1/Text").GetComponent<Text>();
Image2 = GameObject.Find("Canvas/Panel/Image2/Text").GetComponent<Text>();
Image3 = GameObject.Find("Canvas/Panel/Image3/Text").GetComponent<Text>();
Image4 = GameObject.Find("Canvas/Panel/Image4/Text").GetComponent<Text>();
Image5 = GameObject.Find("Canvas/Panel/Image5/Text").GetComponent<Text>();
Image6 = GameObject.Find("Canvas/Panel/Image6/Text").GetComponent<Text>();
Image7 = GameObject.Find("Canvas/Panel/Image7/Text").GetComponent<Text>();
Image8 = GameObject.Find("Canvas/Panel/Image8/Text").GetComponent<Text>();
Image9 = GameObject.Find("Canvas/Panel/Image9/Text").GetComponent<Text>();
Image10 = GameObject.Find("Canvas/Panel/Image10/Text").GetComponent<Text>();
Image11 = GameObject.Find("Canvas/Panel/Image11/Text").GetComponent<Text>();
Image12 = GameObject.Find("Canvas/Panel/Image12/Text").GetComponent<Text>();
Image13 = GameObject.Find("Canvas/Panel/Image13/Text").GetComponent<Text>();
Image14 = GameObject.Find("Canvas/Panel/Image14/Text").GetComponent<Text>();
Image15 = GameObject.Find("Canvas/Panel/Image15/Text").GetComponent<Text>();
Image16 = GameObject.Find("Canvas/Panel/Image16/Text").GetComponent<Text>();
Image17 = GameObject.Find("Canvas/Panel/Image17/Text").GetComponent<Text>();
Image18 = GameObject.Find("Canvas/Panel/Image18/Text").GetComponent<Text>();
Image19 = GameObject.Find("Canvas/Panel/Image19/Text").GetComponent<Text>();
Image20 = GameObject.Find("Canvas/Panel/Image20/Text").GetComponent<Text>();
Image21 = GameObject.Find("Canvas/Panel/Image21/Text").GetComponent<Text>();
Image22 = GameObject.Find("Canvas/Panel/Image22/Text").GetComponent<Text>();
Image23 = GameObject.Find("Canvas/Panel/Image23/Text").GetComponent<Text>();
Button.text = mymoney1.ToString();
Button1.text = mymoney2.ToString();
Button2.text = mymoney3.ToString();
Button3.text = mymoney4.ToString();
Button4.text = mymoney5.ToString();
Button5.text = mymoney6.ToString();
Button6.text = mymoney7.ToString();
Button7.text = mymoney8.ToString();
Button8.text = mymoney9.ToString();
Button9.text = mymoney10.ToString();
mytxt12.text = mymoney11.ToString();
mytxt14.text = mymoney12.ToString();
}
// Update is called once per frame
void Update()
{
}
public void myfun()
{
int num = 0;
num = Random.Range(0, 24);
if (num == 0)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 2 * mymoney1;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 1)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 5 * mymoney2;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 2)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 40 * mymoney8;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 3)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 30 * mymoney7;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 4)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 2 * mymoney1;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 5)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 100 * mymoney10;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 6)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 25 * mymoney6;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 7)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 5 * mymoney2;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 8)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 20 * mymoney5;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 9)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 60 * mymoney9;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 10)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 25 * mymoney6;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 11)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 10 * mymoney3;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 12)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 15 * mymoney4;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 13)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 2 * mymoney1;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 14)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 40 * mymoney8;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 15)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 30 * mymoney7;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 16)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 5 * mymoney2;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 17)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 20 * mymoney5;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 18)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 40 * mymoney8;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 19)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 2 * mymoney1;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 20)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 15 * mymoney4;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 21)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 10 * mymoney3;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 22)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
mymoney11 = mymoney11 + 5 * mymoney2;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
if (num == 23)
{
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(0.0F, 0.0F, 0.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
mymoney11 = mymoney11 + 60 * mymoney9;
mymoney1 = 0;
mymoney2 = 0;
mymoney3 = 0;
mymoney4 = 0;
mymoney5 = 0;
mymoney6 = 0;
mymoney7 = 0;
mymoney8 = 0;
mymoney9 = 0;
mymoney10 = 0;
mymoney12 = 0;
}
Button.text = mymoney1.ToString();
Button1.text = mymoney2.ToString();
Button2.text = mymoney3.ToString();
Button3.text = mymoney4.ToString();
Button4.text = mymoney5.ToString();
Button5.text = mymoney6.ToString();
Button6.text = mymoney7.ToString();
Button7.text = mymoney8.ToString();
Button8.text = mymoney9.ToString();
Button9.text = mymoney10.ToString();
mytxt12.text = mymoney11.ToString();
mytxt14.text = mymoney12.ToString();
Image.text = num.ToString();
Image1.text = num.ToString();
Image2.text = num.ToString();
Image3.text = num.ToString();
Image4.text = num.ToString();
Image5.text = num.ToString();
Image6.text = num.ToString();
Image7.text = num.ToString();
Image8.text = num.ToString();
Image9.text = num.ToString();
Image10.text = num.ToString();
Image11.text = num.ToString();
Image12.text = num.ToString();
Image13.text = num.ToString();
Image14.text = num.ToString();
Image15.text = num.ToString();
Image16.text = num.ToString();
Image17.text = num.ToString();
Image18.text = num.ToString();
Image19.text = num.ToString();
Image20.text = num.ToString();
Image21.text = num.ToString();
Image22.text = num.ToString();
Image23.text = num.ToString();
//Image img = GameObject.Find ("Image").GetComponent<Image> ();
//img.color = UnityEngine.Color.red;
//mytxt1.text =Random.Range(1,2).ToString();
//float translation = Time.deltaTime * 10;
}
public void myfun1()
{
mymoney1 = mymoney1 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button.text = mymoney1.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun2()
{
mymoney2 = mymoney2 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button1.text = mymoney2.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun3()
{
mymoney3 = mymoney3 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button2.text = mymoney3.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun4()
{
mymoney4 = mymoney4 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button3.text = mymoney4.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun5()
{
mymoney5 = mymoney5 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button4.text = mymoney5.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun6()
{
mymoney6 = mymoney6 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button5.text = mymoney6.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun7()
{
mymoney7 = mymoney7 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button6.text = mymoney7.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun8()
{
mymoney8 = mymoney8 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button7.text = mymoney8.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun9()
{
mymoney9 = mymoney9 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button8.text = mymoney9.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
public void myfun10()
{
mymoney10 = mymoney10 + 1;
mymoney12 = mymoney12 + 1;
mymoney11 = mymoney11 - 1;
mytxt12.text = mymoney11.ToString();
Button9.text = mymoney10.ToString();
mytxt14.text = mymoney12.ToString();
Image img = GameObject.Find("Image").GetComponent<Image>();
img.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img1 = GameObject.Find("Image1").GetComponent<Image>();
img1.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img2 = GameObject.Find("Image2").GetComponent<Image>();
img2.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img3 = GameObject.Find("Image3").GetComponent<Image>();
img3.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img4 = GameObject.Find("Image4").GetComponent<Image>();
img4.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img5 = GameObject.Find("Image5").GetComponent<Image>();
img5.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img6 = GameObject.Find("Image6").GetComponent<Image>();
img6.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img7 = GameObject.Find("Image7").GetComponent<Image>();
img7.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img8 = GameObject.Find("Image8").GetComponent<Image>();
img8.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img9 = GameObject.Find("Image9").GetComponent<Image>();
img9.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img10 = GameObject.Find("Image10").GetComponent<Image>();
img10.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img11 = GameObject.Find("Image11").GetComponent<Image>();
img11.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img12 = GameObject.Find("Image12").GetComponent<Image>();
img12.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img13 = GameObject.Find("Image13").GetComponent<Image>();
img13.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img14 = GameObject.Find("Image14").GetComponent<Image>();
img14.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img15 = GameObject.Find("Image15").GetComponent<Image>();
img15.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img16 = GameObject.Find("Image16").GetComponent<Image>();
img16.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img17 = GameObject.Find("Image17").GetComponent<Image>();
img17.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img18 = GameObject.Find("Image18").GetComponent<Image>();
img18.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img19 = GameObject.Find("Image19").GetComponent<Image>();
img19.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img20 = GameObject.Find("Image20").GetComponent<Image>();
img20.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img21 = GameObject.Find("Image21").GetComponent<Image>();
img21.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img22 = GameObject.Find("Image22").GetComponent<Image>();
img22.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
Image img23 = GameObject.Find("Image23").GetComponent<Image>();
img23.color = new Color(1.0F, 1.0F, 1.0F, 1.0F);
}
}