private void Start()
 {
     playerStats = gameObject.GetComponent <PlayerStats>();
     skeleton    = GameObject.FindGameObjectWithTag("SkeleBoss").GetComponent <SkeleBossController>();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     skeleton = GameObject.FindWithTag("SkeleBoss").GetComponent <SkeleBossController>();
 }