2using UnityEngine.InputSystem;
3using UnityEngine.SceneManagement;
12 [SerializeField]
private string nextScene =
"Playtest";
24 gameInputActions.Game.Quit.performed +=
OnQuit;
29 gameInputActions.Game.Quit.performed -=
OnQuit;
41 private void OnQuit(InputAction.CallbackContext context) {
Helper class to load the authentication file and retrieve API keys.
static bool AuthenticationFileExists()
MonoBehaviour to check if the authentication file exists before starting the experience.
GameInputActions gameInputActions
void OnQuit(InputAction.CallbackContext context)