SetComponent

SetComponent(string, Component)

public bool SetComponent(string name, Component value) ;

Description

It wants to set the value of the Component type.

Parameters

Parameter Name Description
name Name.
value Value.

Returns

The true when there parameters of the specified name.

SetComponent(int, Component)

public bool SetComponent(int id, Component value) ;

Description

It wants to set the value of the Component type.

Parameters

Parameter Name Description
id ID.
value Value.

Returns

The true when there parameters of the specified name.

SetComponent<TComponent>(string, TComponent)

public bool SetComponent<TComponent>(string name, TComponent value) ;

Description

It wants to set the value of the Component type.

Type Parameters

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

Parameters

Parameter Name Description
name Name.
value Value.

Returns

The true when there parameters of the specified name.

SetComponent<TComponent>(int, TComponent)

public bool SetComponent<TComponent>(int id, TComponent value) ;

Description

It wants to set the value of the Component type.

Type Parameters

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

Parameters

Parameter Name Description
id ID.
value Value.

Returns

The true when there parameters of the specified name.