Esempio n. 1
0
 public void SetForBuy()
 {
     RemoveIcon();
     state      = FermaMissionStates.FORBUY;
     getTouches = true;
     GetComponent <tk2dSprite>().color = new Color(1f, 1f, 1f, 1f);
     emmitTime.gameObject.SetActive(false);
     plus.gameObject.SetActive(true);
 }
Esempio n. 2
0
 public void SetClosed()
 {
     RemoveIcon();
     state      = FermaMissionStates.CLOSED;
     getTouches = false;
     GetComponent <tk2dSprite>().color = new Color(0.5f, 0.5f, 0.5f, 1f);
     emmitTime.gameObject.SetActive(false);
     plus.gameObject.SetActive(false);
 }
Esempio n. 3
0
 public void SetOpened()
 {
     hasMission = false;
     RemoveIcon();
     state      = FermaMissionStates.OPENED;
     getTouches = true;
     GetComponent <tk2dSprite>().color = new Color(1f, 1f, 1f, 1f);
     emmitTime.gameObject.SetActive(false);
     plus.gameObject.SetActive(false);
 }