// Use this for initialization void Start() { Monto = Pallet.Valores.Valor2; if (Particulas != null) { Particulas.SetActive(false); } }
// Use this for initialization void Start() { Monto = Pallet.Valores.Valor2; if (GameDifficulty.instance != null && GameDifficulty.instance.hardModeOn) { int rand = Random.Range(1, 4); if (rand == 1) { Destroy(gameObject); } } if (Particulas != null) { Particulas.SetActive(false); } }