HasComponentAttribute.

HasComponentAttribute(Type[]) Constructor

Summary

Creates a new InspectorGadgets.Attributes.HasComponentAttribute to require a component of the specified type.

Syntax

public HasComponentAttribute(params Type[] componentTypes)

Parameters

Name Type Description
componentTypes Type[]

Return Value

Type Description
void