first commit

This commit is contained in:
2026-04-07 03:14:32 +03:00
commit b3992fec6b
1026 changed files with 366769 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class SecretDropdown : MonoBehaviour
{
public enum SecretPlanet
{
<EFBFBD>, , 調, <EFBFBD>, , , , , , <EFBFBD>
}
[SerializeField] private TMP_Dropdown _dropdown;
[SerializeField] private SecretPlanet _planet;
[SerializeField] private TextMeshProUGUI _planetNameText;
public TMP_Dropdown Dropdown => _dropdown;
public int PlanetIndex => (int)_planet;
void Start()
{
if (_planetNameText != null)
_planetNameText.text = _planet.ToString();
_dropdown.onValueChanged.AddListener(OnValueChanged);
}
void OnValueChanged(int index)
{
if (_planetNameText != null)
_planetNameText.text = _planet.ToString();
}
}