using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoostZone : MonoBehaviour { [SerializeField] private float _boostAmmount; [SerializeField] private float _boostTime; private ShipPathFollower _follower; private void Awake() { _follower = FindObjectOfType(); } public void UseBoost() { _follower.FastBreak(0.6f); } }