16 lines
334 B
C#
16 lines
334 B
C#
using UnityEngine;
|
|
|
|
public class PaymentEmulator : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
void Update()
|
|
{
|
|
if(Input.GetKeyDown(KeyCode.F)) ComPortController.OnCoinRecieved();
|
|
if (Input.GetKeyDown(KeyCode.R)) WalletManager.ResetBalance();
|
|
|
|
}
|
|
}
|