using System.Collections; using System.Collections.Generic; using UnityEngine; public class PaymentEmulator : MonoBehaviour { public KeyCode key; void Update() { if (Input.GetKeyDown(key)) PaymentSystem.AddCredit(); } }