Firstborn/Assets/RPG Creation Kit/Scripts/UI/DisplayCharacterName.cs

17 lines
439 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RPGCreationKit;
using TMPro;
namespace RPGCreationKit
{
public class DisplayCharacterName : MonoBehaviour
{
// Start is called before the first frame update
void OnEnable()
{
GetComponent<TextMeshProUGUI>().text = "<"+SaveSystem.SaveSystemManager.instance.saveFile.PlayerData.playerName+">";
}
}
}