Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #pragma once
  2. #include "Component.h"
  3.  
  4. struct ExampleComponent : public Component
  5. {
  6.     float x;
  7.     virtual void Initialize() { x = 2.0f; }
  8.     virtual void Cleanup()    { x = 3.0f; }
  9.     virtual void Setup()      { x = 1.0f; }
  10. };