|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
var attributes = originalField.GetCustomAttributes(true).ToList(); |
|
|
|
var tooltipAttribute = attributes.Find(att => att.GetType() == typeof(TooltipAttribute)); |
|
|
|
var tooltipAttribute = attributes.Find(att => att is TooltipAttribute); |
|
|
|
var hideInspectorAttribute = attributes.Find(att => att.GetType() == typeof(TooltipAttribute)); |
|
|
|
var hideInspectorAttribute = attributes.Find(att => att is HideInInspector); |
|
|
|
if (hideInspectorAttribute != null) |
|
|
|
propertyField.style.display = DisplayStyle.None; |
|
|
|
|
|
|
|