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

Member Functions

override void OnGUI
( Rect position,
SerializedProperty property,
GUIContent label )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon