// Use this for initialization void Start() { MinotaurRigidbody = GetComponent <Rigidbody2D>(); Anim = GetComponent <Animator>(); MEM = GetComponent <Minotaur_Enemy_Manager>(); Player = GameObject.Find("Player"); }
// Use this for initialization void Start() { Boss = GameObject.Find("Minotaur"); MEM = Boss.GetComponent <Minotaur_Enemy_Manager>(); BossMusicTrigger = GameObject.Find("BossMusicTrigger").GetComponent <ChangeBackgroundMusic>(); MainCamera = GameObject.Find("Main Camera").GetComponent <CameraFollow>(); Player = GameObject.Find("Player"); PM = Player.GetComponent <Player_Manager>(); BossText = GameObject.Find("BossText"); BossTextText = BossText.GetComponent <Text>(); }