22 lines
458 B
C#
22 lines
458 B
C#
using DG.Tweening;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using YiLiao.JingLuoXueWei;
|
|
using ZXKFramework;
|
|
|
|
public class LookAtCamera : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
transform.LookAt(GameManager.Instance.playerManager.transform.FindFirst<Transform>("CenterEyeAnchor"));
|
|
}
|
|
}
|