SetComponent

SetComponent(Component)

public bool SetComponent(Component value) ;

Description

It wants to set the value of the Component type.

Parameters

Parameter Name Description
value Value.

Returns

Return true if the value could be set.

SetComponent<TComponent>(TComponent)

public bool SetComponent<TComponent>(TComponent value) ;

Description

Set Component value

Type Parameters

Type Parameter Name Description Type Constraints
TComponent Type of Component to set

Parameters

Parameter Name Description
value Value

Returns

Return true if the value could be set.