Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     graveyard = GameObject.Find("Graveyard");
     //rig = GetComponent<Rigidbody2D>();
     sur = GetComponent<Surviving>();
     sirch = GetComponent<Sirching>();
     mooving = GetComponent<MoveForward>();
     Decreser = mooving.maxSpeed / 2;
     tired = true;
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     bio = GetComponent<LifeActivity>();
     sirch = GetComponent<Sirching>();
     mooving = GetComponent<MoveForward>();
 }