1. using System.Collections;
    2. using System.Collections.Generic;
    3. using UnityEngine;
    4. public class L13 : MonoBehaviour
    5. {
    6. public Transform Lookobj;
    7. void Update()
    8. {
    9. transform.LookAt(Lookobj); //相机注视
    10. }
    11. }