Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

IProperty.HasAttribute

Declaration

public bool HasAttribute();

Returns

bool true if the property has the given attribute type; otherwise, false.

Description

Returns true if the property has any attributes of the given type.