first commit
This commit is contained in:
15
Assets/Scripts/UIText.cs
Normal file
15
Assets/Scripts/UIText.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class UIText : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private float _yRotation = -180f;
|
||||
[SerializeField] private float _xRotation = 53.483f;
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
transform.rotation = Quaternion.Euler(_xRotation, _yRotation, 0f);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user