Unravel Engine C++ Reference
Loading...
Searching...
No Matches
ecs_utils.h File Reference
#include "components/transform_component.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  unravel
 

Functions

template<typename ComponentType >
void unravel::for_each_component_in_children (entt::handle parent, std::function< void(ComponentType &)> callback)
 Iterates through all children (recursively) and calls the callback for each entity that has the specified component.