SpiecsEngine
 
Loading...
Searching...
No Matches

◆ OnComponentAdded()

void Spices::Component::OnComponentAdded ( const entt::entity & entity)
virtualinherited

This interface defines the behaves on specific component added. Init with variable.

Parameters
[in]entitythis component's Owner entity.

Set m_Owner Variable.

Set m_Owner Variable.

Reimplemented in Spices::NativeScriptComponent.

Definition at line 17 of file Component.cpp.

18 {
20
24 m_Owner = entity;
25 }
#define SPICES_PROFILE_ZONE
entt::entity m_Owner
This component's Owner entity.
Definition Component.h:67