Merge remote-tracking branch 'origin/main' into SP3-2-Physics
This commit is contained in:
commit
90bcae03a8
|
@ -40,6 +40,12 @@ namespace SHADE
|
|||
{
|
||||
comp->OnDestroy();
|
||||
}
|
||||
SHComponentRemovedEvent eventData;
|
||||
eventData.eid = entityID;
|
||||
eventData.removedComponentType = i;
|
||||
|
||||
SHEventManager::BroadcastEvent<SHComponentRemovedEvent>(eventData, SH_COMPONENT_REMOVED_EVENT);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -53,6 +59,7 @@ namespace SHADE
|
|||
|
||||
//entityHandle.RemoveHandle(entityID);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue