aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Assets/Scripts/Controllers/AIController.cs
blob: 9f115c20d908841d8302aa7ee71bb5cab4bbed37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
      }
    }
  }
}