tạo bóng rổ assest tạo bóng ném

This commit is contained in:
2026-04-29 10:13:09 +07:00
parent 3e9c60d83d
commit 6b83ac05d5
529 changed files with 130558 additions and 110 deletions

View File

@@ -0,0 +1,19 @@
using TMPro;
using UnityEngine;
public class DropdownSample: MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI text = null;
[SerializeField]
private TMP_Dropdown dropdownWithoutPlaceholder = null;
[SerializeField]
private TMP_Dropdown dropdownWithPlaceholder = null;
public void OnButtonClick()
{
text.text = dropdownWithPlaceholder.value > -1 ? "Selected values:\n" + dropdownWithoutPlaceholder.value + " - " + dropdownWithPlaceholder.value : "Error: Please make a selection";
}
}