GetComponents

GetComponents(Type)

public TileComponent[] GetComponents(Type type) ;

Description

Gets the TileComponents.

Parameters

Parameter Name Description
type Type of the class you want to get.

Returns

Array of TileComponent.

GetComponents<T>()

public T[] GetComponents<T>() ;

Description

Gets the TileComponents.

Type Parameters

Type Parameter Name Description Type Constraints
T Class of TileComponent you want to get.
  • class

Returns

Array of TileComponent.

GetComponents(Type, List<TileComponent>)

public void GetComponents(Type type, List<TileComponent> results) ;

Description

Gets the TileComponents.

Parameters

Parameter Name Description
type Type of the class you want to get.
results List to receive the results.

GetComponents<T>(List<T>)

public void GetComponents<T>(List<T> results) ;

Description

Gets the TileComponents.

Type Parameters

Type Parameter Name Description Type Constraints
T Class of TileComponent you want to get.
  • class

Parameters

Parameter Name Description
results List to receive the results.