11 lines
192 B
C#
11 lines
192 B
C#
using UnityEngine;
|
|
|
|
public class PaymentEmulator : MonoBehaviour
|
|
{
|
|
public KeyCode key;
|
|
|
|
void Update()
|
|
{
|
|
if (Input.GetKeyDown(key)) PaymentSystem.AddCredit();
|
|
}
|
|
} |