Exemplo n.º 1
0
 void Awake()
 {
     _move   = GetComponent <move8> ();
     _chase  = GetComponent <Chase8> ();
     _attack = GetComponent <attack8> ();
     _Bar    = GameObject.Find(Bar_num).GetComponent <Image> ();
 }
Exemplo n.º 2
0
 void Start()
 {
     player = FindObjectOfType <move8> ();
 }