GetComponent

GetComponent(Type)

public TileComponent GetComponent(Type type) ;

Description

Gets the TileComponent.

Parameters

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

Returns

TileComponent.The return value may be null if it was not.

GetComponent<T>()

public T GetComponent<T>() ;

Description

Gets the TileComponent.

Type Parameters

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

Returns

TileComponent.The return value may be null if it was not.