//写法【public+Scrollbar:滚动条+标识符;】只能导入滚动条,需要配合【usingUnityEngine.UI;】才可以运行 UI→按钮-Text Mesh Pro;(Button) UI→下拉列表-Text Mesh Pro;(Dropdown) publicTMP_Dropdowna5; //写法【public+TMP_Dropdown:下拉列表+标识符;】只能导
//写法【public+Scrollbar:滚动条+标识符;】只能导入滚动条,需要配合【usingUnityEngine.UI;】才可以运行 UI→按钮-Text Mesh Pro;(Button) UI→下拉列表-Text Mesh Pro;(Dropdown) publicTMP_Dropdowna5; //写法【public+TMP_Dropdown:下拉列表+标识符;】只能导入下拉列表 ...
TypeDescription UnityEngine.UI.Image itemTextDeclarationpublic TMP_Text itemText { get; set; } Property ValueTypeDescription TMP_Text onValueChangedDeclarationpublic TMP_Dropdown.DropdownEvent onValueChanged { get; set; } Property ValueTypeDescription TMP_Dropdown.DropdownEvent ...
docs.unity3d.com TextMeshPro 2.1.6Class TMP_Dropdown Inheritance Object UIBehaviour Selectable TMP_DropdownInherited Members Selectable.s_Selectables Selectable.s_SelectableCount Selectable.m_CurrentIndex Selectable.AllSelectablesNoAlloc(Selectable[]) Selectable.OnCanvasGroupChanged() ...
TypeDescription UnityEngine.UI.Image itemTextDeclarationpublic TMP_Text itemText { get; set; } Property ValueTypeDescription TMP_Text onValueChangedDeclarationpublic TMP_Dropdown.DropdownEvent onValueChanged { get; set; } Property ValueTypeDescription TMP_Dropdown.DropdownEvent ...
UnityEngine.UI.Selectable.Awake()ClearOptions()Clear the list of options in the Dropdown.Declarationpublic void ClearOptions() CreateBlocker(Canvas)Create a blocker that blocks clicks to other controls while the dropdown list is open.Declarationprotected virtual GameObject CreateBlocker(Canvas root...
Assembly: Unity.TextMeshPro.dllSyntax[Serializable] public class TMP_Dropdown.OptionDataConstructors OptionData()Declarationpublic OptionData()OptionData(string)Declarationpublic OptionData(string text)ParametersTypeNameDescription string text OptionData(string, Sprite, Color)...
UnityEngine.UI.Image itemText The Text component to hold the text of the item. Declaration publicTMP_Text itemText {get;set; } Property Value TypeDescription TMP_Text onValueChanged Declaration publicTMP_Dropdown.DropdownEvent onValueChanged {get;set; } ...
TypeDescription UnityEngine.UI.Image rectTransformDeclarationpublic RectTransform rectTransform { get; set; } Property ValueTypeDescription RectTransform textDeclarationpublic TMP_Text text { get; set; } Property ValueTypeDescription TMP_Text toggle
docs.unity3d.com Manual Scripting API Changelog License Language: TextMesh Pro 1.3.0 TMPro _HorizontalAlignmentOptions _VerticalAlignmentOptions CaretInfo CaretPosition ColorMode Compute_DistanceTransform_EventTypes Compute_DT_EventArgs Extents FaceInfo Fast...