13 lines
238 B
C#
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);
|
|
}
|
|
}
|