Function showInInspector

  • Attribute that prevents a field or a property from being visible in the inspector window in editor. Normally those fields are public fields of a Component, Resource or a class marked with a SerializeObjectAttribute attribute.

    Returns AttributeDecorator<Attribute>