aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Assets/Scripts/AIController.cs
blob: 9cb20fb00bc040059d03e493f72f3cdbf3f556de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using UnityEngine;

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;
		}
	}
}