TryGetComponentList

TryGetComponentList<TComponent>(string, out IList<TComponent>)

public bool TryGetComponentList<TComponent>(string name, out IList<TComponent> value) ;

Description

Get the value of the ComponentList type.

Type Parameters

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

Parameters

Parameter Name Description
name Name.
value Value.

Returns

The true when there parameters of the specified name.

TryGetComponentList<TComponent>(int, out IList<TComponent>)

public bool TryGetComponentList<TComponent>(int id, out IList<TComponent> value) ;

Description

Get the value of the Component type.

Type Parameters

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

Parameters

Parameter Name Description
id ID.
value Value.

Returns

The true when there parameters of the specified name.