summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Test/AimTest.cs
blob: d69c4a411d7e96fb8b2acc55c92ad96635d11855 (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);
	}

}