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

15 lines
255 B
C#

using UnityEngine;
public class PaymentEmulator : MonoBehaviour
{
private void Awake()
{
DontDestroyOnLoad(gameObject);
}
void Update()
{
if(Input.GetKeyDown(KeyCode.F)) ComPortController.OnCoinRecieved();
}
}