void Start() { mBossAction = GetComponent <BOSSAction>(); mAudioSource = GetComponent <AudioSource>(); randomX = Random.Range(-2, 2); Hostile = true; m_SpriteRenderer = GetComponent <SpriteRenderer>(); }
// Start is called before the first frame update void Start() { mBossAction = GetComponentInParent <BOSSAction>(); }