aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Assets/Scripts/Controllers/AIController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Controllers/AIController.cs')
-rw-r--r--Assets/Scripts/Controllers/AIController.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Assets/Scripts/Controllers/AIController.cs b/Assets/Scripts/Controllers/AIController.cs
new file mode 100644
index 0000000..9f115c2
--- /dev/null
+++ b/Assets/Scripts/Controllers/AIController.cs
@@ -0,0 +1,19 @@
+using UnityEngine;
+
+namespace Controllers
+{
+ public class AIController : MonoBehaviour
+ {
+ private void Update()
+ {
+ if (Input.GetKey(KeyCode.H))
+ {
+ transform.position += Vector3.right * 0.01f;
+ }
+ else if (Input.GetKey(KeyCode.F))
+ {
+ transform.position += Vector3.left * 0.01f;
+ }
+ }
+ }
+}