Files
FutureMen2/Assets/_FutureMen2/Scripts/Player/LookPlayer.cs

13 lines
238 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookPlayer : MonoBehaviour
{
private void OnEnable()
{
transform.LookAt(GameManager.Ins.player.transform);
}
}