Inheritance: MonoBehaviour
Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player");
     the_boss = (boss) GameObject.FindGameObjectWithTag("Spider").GetComponent<boss>();
     StartCoroutine(pinSpit(3f));
     StartCoroutine(webSpit(10f));
     movepoints = the_boss.movepoints;
     changeTarget();
 }