Open timokoesters opened 5 years ago
It will remove the component from the entity and return it (not by reference), similar to Option::take.
This avoids cloning the component if it will be removed soon anyway. This allows cleaner code.
Description
It will remove the component from the entity and return it (not by reference), similar to Option::take.
Motivation
This avoids cloning the component if it will be removed soon anyway. This allows cleaner code.