SpiecsEngine
 
Loading...
Searching...
No Matches

◆ OnEvent()

void Spices::NativeScriptRegister::OnEvent ( Event & event) const

This function will be called on global Event function pointer is called.

Definition at line 22 of file NativeScript.cpp.

23 {
25
26 for (size_t i = 0; i < m_NativeScripts.size(); i++)
27 {
28 m_NativeScripts[i]->OnEvent(event);
29 }
30 }
#define SPICES_PROFILE_ZONE
std::vector< std::unique_ptr< NativeScript > > m_NativeScripts
The container of all native script handle.