zhanshi/Assets/UIcon.cs

19 lines
354 B
C#
Raw Permalink Normal View History

2024-12-18 19:07:19 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIcon : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
this.gameObject.transform.LookAt(Camera.main.transform.position);
}
}