add skin color modifier

This commit is contained in:
2025-01-07 21:43:47 +02:00
parent bf4bdfdfd1
commit 090ffeb17d
34 changed files with 532 additions and 15 deletions
+22
View File
@@ -0,0 +1,22 @@
using UnityEngine;
public class ToolTipSystem : MonoBehaviour
{
private static ToolTipSystem _current;
[SerializeField] private ToolTip _toolTip;
public void Awake()
{
_current = this;
_current._toolTip.gameObject.SetActive(false);
}
public static void Show(string content, string header = "")
{
_current._toolTip.SetText(content, header);
_current._toolTip.gameObject.SetActive(true);
}
public static void Hide()
{
_current._toolTip.gameObject.SetActive(false);
}
}