How can I check if the transform see the target ? And how to keep the transform looking at the target when moving the transform?

前端 未结 0 1733
旧时难觅i
旧时难觅i 2020-12-05 05:59
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LookAtTarget : MonoBehaviour
{
    public Transform lookAt;
    public V         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题