35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
namespace UnityEngine.UI.Extensions.Examples
|
|
{
|
|
public class ComboBoxChanged : MonoBehaviour
|
|
{
|
|
public void ComboBoxChangedEvent(string text)
|
|
{
|
|
Debug.Log($"ComboBox changed [{text}]");
|
|
}
|
|
|
|
public void AutoCompleteComboBoxChangedEvent(string text)
|
|
{
|
|
Debug.Log($"AutoCompleteComboBox changed [{text}]");
|
|
}
|
|
|
|
public void AutoCompleteComboBoxSelectionChangedEvent(string text, bool valid)
|
|
{
|
|
Debug.Log($"AutoCompleteComboBox selection changed [{text}] and its validity was [{valid}]");
|
|
}
|
|
|
|
public void AutoCompleteComboBoxValidityChangedEvent(bool value)
|
|
{
|
|
Debug.Log($"AutoCompleteComboBox changed, is valid? [{value}]");
|
|
}
|
|
|
|
public void AutoCompleteComboBoxItemSelectedEvent(string text)
|
|
{
|
|
Debug.Log($"AutoCompleteComboBox selected item [{text}]");
|
|
}
|
|
|
|
public void DropDownChangedEvent(int newValue)
|
|
{
|
|
Debug.Log($"DropDown changed [{newValue}]");
|
|
}
|
|
}
|
|
} |