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