Simple gameplay loop in place
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class GameController : MonoBehaviour {
|
||||
void Update() {
|
||||
if (Input.GetButtonDown ("Quit")) {
|
||||
Application.Quit ();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user