#pragma once #include namespace engine { struct CustomComponent { std::function onInit; // void onInit(void); std::function onUpdate; // void onUpdate(float ts); }; } // namespace engine