// Use this for initialization
	void Start () {
        CurrentBoss = this.gameObject.transform.parent.GetComponent<EndlessBoss01>();
	}
Example #2
0
 // Use this for initialization
 void Start()
 {
     CurrentBoss = this.gameObject.transform.parent.GetComponent <EndlessBoss01>();
 }