protected override void Awake() { base.Awake(); playerChaser = GetComponent <PlayerChaser>(); bounce = GetComponent <BounceComponent>(); bounce.ResetBounces(3); spawn = GetComponent <SpawnComponent>(); EventList.grubCollect += Beetle_OnBugCollect; }
protected override void Awake() { base.Awake(); bounce = GetComponent <BounceComponent>(); spawn = GetComponent <SpawnComponent>(); }