added code from unity

This commit is contained in:
Sebastian Bularca
2026-04-06 20:45:22 +02:00
parent a66b4471fa
commit 2872300873
34 changed files with 2164 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
using TMPro;
using UnityEngine;
namespace Jovian.InGameLogging.UI {
public class LogEntryView : MonoBehaviour {
[SerializeField] TMP_Text messageText;
public void SetEntry(in LogEntry entry) {
messageText.text = entry.message;
}
public void ClearEntry() {
messageText.text = string.Empty;
}
}
}