Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SetTextで文字を表示する場合
using UnityEngine;
using TMPro;
public class ShowCharacter3 : MonoBehaviour
{
[SerializeField]
TextMeshProUGUI label;
public int Count;
void Update()
{
var value = Count;
label.SetText("<size=50%>value</size> {0}", Count);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment