Skip to content

Commit b2cdc4a

Browse files
committed
Update Entity.hpp
1 parent 4ab820a commit b2cdc4a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Foundation/Public/Aurora.Scene/Entity.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,13 @@ namespace Scene
287287
mHandle.remove(Component.GetID());
288288
}
289289

290+
// -=(Undocumented)=-
291+
template<typename First, typename Second>
292+
void Detach()
293+
{
294+
mHandle.remove<First, Second>();
295+
}
296+
290297
// -=(Undocumented)=-
291298
void Detach(Entity First, Entity Second)
292299
{

0 commit comments

Comments
 (0)