first commit

This commit is contained in:
2026-06-04 23:22:13 +03:00
commit d329f501be
310 changed files with 36395 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
using UnityEngine;
using UnityEngine.UI;
namespace OTGIntegrated.UI
{
public sealed class TooltipUI : MonoBehaviour
{
public GameObject root;
public Text contentText;
private void Awake()
{
if (root == null)
{
root = gameObject;
}
}
public void Show(string content)
{
if (root != null)
{
root.SetActive(true);
}
if (contentText != null)
{
contentText.text = content;
}
}
public void Hide()
{
if (root != null)
{
root.SetActive(false);
}
}
}
}