Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Component.h"
- struct ExampleComponent : public Component
- {
- float x;
- virtual void Initialize() { x = 2.0f; }
- virtual void Cleanup() { x = 3.0f; }
- virtual void Setup() { x = 1.0f; }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement