Files
flufflparty-/FlufflParty/Assets/Scripts/NamesText.cs
T
2023-04-15 00:19:07 +02:00

21 lines
385 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NamesText : MonoBehaviour
{
public float orgY;
private GameObject camera;
private void Start()
{
camera = GameCamera.gObject;
}
// Update is called once per frame
void Update()
{
transform.rotation = Quaternion.Euler(0, orgY, 0);
}
}