Пример #1
0
 // Use this for initialization
 void Start()
 {
     winner       = false;
     mm           = this.GetComponent <MatrixManager> ();
     numbers      = mm.getMatrix();
     audioSources = this.GetComponents <AudioSource> ();
     nextStage    = this.GetComponent <NextStageManager> ();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     mainAnimator   = this.GetComponent <Animator> ();
     tm             = this.GetComponent <TextManager> ();
     dialog         = tm.getDialog();
     dialogOver     = false;
     isFontaneiro   = true;
     speechAnimator = speechBubble.GetComponent <Animator> ();
     currentText    = 0;
     speechAnimator.SetBool("isFontanero", isFontaneiro);
     bubbleText = speechBubble.GetComponentInChildren <Text>();
     nextStage  = this.GetComponent <NextStageManager> ();
     isEndgame  = Application.loadedLevelName.Equals("EndGame");
 }