This commit is contained in:
2025-07-14 12:10:34 +09:00
parent a9159cb508
commit e92778f77b
7 changed files with 1371 additions and 14 deletions

View File

@@ -0,0 +1,23 @@
using UnityEngine;
using TMPro;
public class LibraryToggle : MonoBehaviour
{
TMP_Text Label;
private void Awake()
{
Label = transform.Find(nameof(Label)).GetComponent<TMP_Text>();
}
public void OnToggle(bool flag)
{
if (flag)
{
Label.color = new Color(1, 1, 1);
}
else
{
Label.color = new Color(0, 0, 0);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 281208f402c11bd4ab21fbf11875ca7f