HasComponent<T>(int)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Checks if the specified entity has the specified component.

Syntax

public bool HasComponent<T>(
	int entityId
)

Parameters

entityId

Entity ID

Returns

True if it has this component, false otherwise

Type parameters

T

Component type


Back to index