chip-game/Assets/Scripts/PaymentEmulator.cs

15 lines
254 B
C#

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