using UnityEngine; public class BaseItem : MonoBehaviour, IInteractable { [SerializeField] private float _scoreAdd = 0; public virtual void Interact() { PlayerSetup.Instance.AddScore(_scoreAdd); Destroy(gameObject); } }