]> git.cameronkatri.com Git - gmtk-gamejam.git/blob - Assets/Scripts/Controllers/AIController.cs
Restructure scripts, improve locomotion, and add movement indicators
[gmtk-gamejam.git] / Assets / Scripts / Controllers / AIController.cs
1 using UnityEngine;
2
3 namespace Controllers
4 {
5 public class AIController : MonoBehaviour
6 {
7 private void Update()
8 {
9 if (Input.GetKey(KeyCode.H))
10 {
11 transform.position += Vector3.right * 0.01f;
12 }
13 else if (Input.GetKey(KeyCode.F))
14 {
15 transform.position += Vector3.left * 0.01f;
16 }
17 }
18 }
19 }