1
0
Fork 0
LaboratoryProtection/Assets/UnityTest/ZXL/Scripts/UI/Label.cs

14 lines
311 B
C#

using System;
using UnityEngine;
namespace UnityTest.ZXL
{
public abstract class Label : MonoBehaviour
{
protected void Update()
{
var currentTransform = CameraManager.Instance().GetCurrentCamera().transform;
transform.LookAt(currentTransform);
}
}
}