Tz2/Assets/Zion/Scripts/ERP/到货验收/ljj/UILookAt.cs

17 lines
232 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UILookAt : MonoBehaviour
{
void Start()
{
}
void Update()
{
transform.LookAt(Camera.main.transform);
}
}