SetComponent

public bool SetComponent(string name, Component value) ;

It wants to set the value of the Component type.

Parameter Name Description
name Name.
value Value.

The true when there parameters of the specified name.

public bool SetComponent(int id, Component value) ;

It wants to set the value of the Component type.

Parameter Name Description
id ID.
value Value.

The true when there parameters of the specified name.

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

It wants to set the value of the Component type.

Type Parameter Name Description Type Constraints
TComponent Type of Component to set
Parameter Name Description
name Name.
value Value.

The true when there parameters of the specified name.

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

It wants to set the value of the Component type.

Type Parameter Name Description Type Constraints
TComponent Type of Component to set
Parameter Name Description
id ID.
value Value.

The true when there parameters of the specified name.