// Use this for initialization void Awake() { bell_boss = GetComponentInParent <BellBoss>(); this_target = GetComponent <ThisTarget>(); this_target.frequency = frequency; this_target.targetable = targetable; bubble = transform.Find("bubble").gameObject; bell1 = transform.Find("bell_1").gameObject; ApplyDifficulty(); Spawn(false); }
private void Start() { hands = GetComponentsInChildren <BossHand>(); bell_boss = GetComponentInParent <BellBoss>(); }