Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     enemy = (GameObject)Instantiate (Enemy, Enemy.transform.position, Enemy.transform.rotation);
     unitychan = enemy.GetComponent<UnityChan_Control>();
     unitychan.SetLife(Life);
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     enemy     = (GameObject)Instantiate(Enemy, Enemy.transform.position, Enemy.transform.rotation);
     unitychan = enemy.GetComponent <UnityChan_Control>();
     unitychan.SetLife(Life);
 }