Version: 2020.2

TextValueInput

class in UnityEditor.UIElements

切换到手册

描述

This is the text string that is entered in the text input.

变量

allowedCharacters重写此方法可指示允许在实际字段中使用的字符。
formatString对字符串进行格式化。

公共函数

ApplyInputDeviceDelta在用户拖动标签更新字段中包含的值时调用。
StartDragging当开始拖动字段的标签以更改其值时,应用程序调用的方法。
StopDragging当停止拖动字段的标签以更改其值时,应用程序调用的方法。

受保护的函数

StringToValue将字符串转换为值类型。
ValueToString将值转换为字符串进行可视化显示。

Did you find this page useful? Please give it a rating: