Method HasComponent
HasComponent<T>(int)
Check if the a component of type T
is present this spawning ghost.
Declaration
public bool HasComponent<T>(int ghostTypeIndex) where T : unmanaged, IComponentData
Parameters
Type | Name | Description |
---|---|---|
int | ghostTypeIndex | The index in the GhostCollectionPrefabSerializer collection |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T |