API reference
API reference
Select your platform
No SDKs available
No versions available

HiddenTextAttributeDrawer Class

Extends PropertyDrawer
Hides text with a Password field unless the user clicks the visibility icon to toggle between password and text mode.
NOTE: Like any password inspector field, this is serialized in plain text. This is purely about visual obfuscation

Methods

OnGUI ( position , property , label )
Signature
override void Meta.WitAi.Drawers.HiddenTextAttributeDrawer.OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
position: Rect
property: SerializedProperty
label: GUIContent
Returns
override void