Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     Player         = GameObject.FindGameObjectWithTag("Player");
     PlayerAnimator = GameObject.FindGameObjectWithTag("Player").GetComponent <Animator>();
     OriginalHp     = Hp;
     boss03         = GameObject.FindGameObjectWithTag("Boss03").GetComponent <Boss03>();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     boss03 = FindObjectOfType <Boss03>();
 }
Ejemplo n.º 3
0
 void Start()
 {
     boss03    = GameObject.FindObjectOfType <Boss03>();
     health    = boss03.getHealth();
     newHealth = health;
 }