Files
MRFishingMaster/Assets/_FishingMaster/Scripts/Player/LookPlayer.cs

19 lines
335 B
C#

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