Пример #1
0
    // Use this for initialization
    void Start()
    {
        GameObject tc = GameObject.Find("TutorialController");

        controler = tc.GetComponent <TutorialControler> ();
        GameObject sheik = GameObject.FindWithTag("Player");

        sPlayer = sheik.GetComponent <PlayerController> ();
        GameObject inimigo = GameObject.FindWithTag("Inimigo");

        sNibba = inimigo.GetComponent <NIBBAIA> ();
    }
Пример #2
0
 private void Start()
 {
     tutorialFlag      = Flag.description;
     text              = scenarioText.GetComponent <ScenarioText>();
     tutorialControler = GetComponent <TutorialControler>();
     serectCircle      = SerectCircle.GetComponent <SerectCircle>();
     touchHantei       = GetComponent <TouchHantei>();
     Description(flags);
     note.datyoNote       = false;
     note.tokageNote      = false;
     note.momongaNote     = false;
     note.kameNote        = false;
     enemynote.enemyNote1 = false;
     enemynote.enemyNote2 = false;
     enemynote.enemyNote3 = false;
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     instance = this;
 }