summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Test/AimTest.cs
blob: ad33221b70a6c1fdc67b410c7e7b7705f5410fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AimTest : MonoBehaviour
{
	public GameObject Go_ConstainObj;

	public GameObject Go_AimTarget;

	public void LateUpdate()
	{
		Go_ConstainObj.transform.LookAt(Go_AimTarget.transform);
	}

}