StvDEV

 GDK

  Components

  Drawing

  Editor

  Extensions

  Inspector

  CaptionedBoolAttribute

  DisableOnRuntimeAttribute

  EnumAttribute

  MinMaxRangeAttribute

  ReadOnlyAttribute

  ShowIfAttribute

  ByFunc

  ByValue

  ConditionalSourceField

  Func

  HideInInspector

  HideType

  Inverse

  ShowIfAttribute(bool)

  ShowIfAttribute(bool, HideType)

  ShowIfAttribute(Func)

  ShowIfAttribute(Func, HideType)

  ShowIfAttribute(string)

  ShowIfAttribute(string, bool)

  ShowIfAttribute(string, bool, HideType)

  ShowIfAttribute(string, HideType)

  Value

  Patterns

  TMP

  Types

  Vibration

Constructor ShowIfAttribute(string conditionalSourceField)

Hides the display of a field in the inspector by the value of a field of type bool.
VisibilityPublic
Extendsthis(conditionalSourceField, false, HideType.Hide)

Parameters

string conditionalSourceFieldName of the field containing the condition