Exemple #1
0
 private void Start()
 {
     pasarVariables          = GameObject.FindGameObjectWithTag("Variables").GetComponent <PasarVariables>();
     CanvasObjetivos.enabled = false;
     Texto.enabled           = false;
     Diario1.enabled         = false;
     timeToWaitCur           = timeToWait;
     isOnText             = true;
     Caleb.bodyType       = RigidbodyType2D.Static;
     timeBetweenScenesCur = timeBetweenScenes;
 }
Exemple #2
0
 void Start()
 {
     //hpBar.value = vida;
     pasarVariables = GameObject.FindGameObjectWithTag("Variables").GetComponent <PasarVariables>();
     vida           = pasarVariables.Vida;
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     PasarVariable = GameObject.FindGameObjectWithTag("Variables").GetComponent <PasarVariables>();
     HpBar.value   = PasarVariable.Vida;
 }
Exemple #4
0
 private void Start()
 {
     PasarVariable = GameObject.FindGameObjectWithTag("Variables").GetComponent <PasarVariables>();
     reputation    = PasarVariable.Repu;
 }