Function ambient_api_core::entity::has_component
source · pub fn has_component<T: SupportedValue>(
entity: EntityId,
component: Component<T>
) -> bool
Expand description
Checks if the entity
has a component
.
pub fn has_component<T: SupportedValue>(
entity: EntityId,
component: Component<T>
) -> bool
Checks if the entity
has a component
.