using UnityEngine; public class ShopOwner : Agent { private ShopManager shopManager; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { shopManager = ShopManager.Instance; } // Update is called once per frame void Update() { } public void ReceivePayment(float value) => shopManager.AddRevenue(value); }