chip-gameV3/Assets/Scripts/Payment/PaymentEmulator.cs

11 lines
192 B
C#

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