summaryrefslogtreecommitdiff
path: root/FollowRotation.cs
blob: 514281ad176ebe19710359fd1f14a9fc0a28b4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using UnityEngine;

public class FollowRotation : MonoBehaviour
{
	public Transform target;

	private void Start()
	{
	}

	private void LateUpdate()
	{
		base.transform.rotation = target.rotation;
	}
}