using UnityEngine; public class PaymentEmulator : MonoBehaviour { private void Awake() { DontDestroyOnLoad(gameObject); } void Update() { if(Input.GetKeyDown(KeyCode.F)) ComPortController.OnCoinRecieved(); } }