using UnityEngine; public class CenterButtonTarget : MonoBehaviour { public TimingWheelShooter owner; private void Awake() { if (owner == null) owner = FindFirstObjectByType(); } public void NotifyHit(ProjectileBehaviour projectile) { if (owner != null) owner.NotifyButtonHit(projectile); } }