sea-battle-vr/Assets/Scripts/Common/PaymentEmulator.cs

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();
}
}