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); }
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); }
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); }