// Start is called before the first frame update void Start() { SomManagement = FindObjectOfType(typeof(SomManagement)) as SomManagement; SetQuestion(); TotaPerguntas.text = "1 de 6 perguntas"; }
// Start is called before the first frame update void Start() { somManagement = FindObjectOfType(typeof(SomManagement)) as SomManagement; ChangeScene.onBatalha = true; print("Começou"); SetBeneficios(); SetVida(); contVidaInicial = contVida; print(contVidaInicial); Pontuacao.text = pontosBatalha.ToString(); PanelPause.SetActive(false); TelaFinal.SetActive(false); TelaPause.SetActive(false); }
// Start is called before the first frame update void Start() { onBatalha = false; somClique = FindObjectOfType(typeof(SomClique)) as SomClique; SomManagement = FindObjectOfType(typeof(SomManagement)) as SomManagement; }
// Start is called before the first frame update void Start() { Vidas = FindObjectOfType(typeof(Vidas)) as Vidas; SomManagement = FindObjectOfType(typeof(SomManagement)) as SomManagement; }
// Start is called before the first frame update void Start() { somManagement = FindObjectOfType(typeof(SomManagement)) as SomManagement; }
// Start is called before the first frame update public void Awake() { SomManagement = FindObjectOfType(typeof(SomManagement)) as SomManagement; }