unity3d
![[유니티] Curved Text](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbnJq0U%2FbtrKJ3E1eWY%2FKA9K2PcAp75n6P1O0xFsQk%2Fimg.png)
[유니티] Curved Text
using UnityEngine; using TMPro; [ExecuteInEditMode] public class CurvedText : MonoBehaviour { private TextMeshProUGUI _textComponent; [SerializeField] private AnimationCurve vertexCurve = new(new Keyframe (0.0f, 0.1f), new Keyframe (0.5f, 0.0f), new Keyframe (1.0f, 0.1f)); [SerializeField] private float curveScale = 100.0f; private void Awake () { _textComponent = gameObject.GetComponent (); } p..