Advertisement
LxrdKxnny

HierarchyModule.h

May 5th, 2023
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.77 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "Modules/ModuleInterface.h"
  4.  
  5. class FHierarchyModule : public IModuleInterface
  6. {
  7. public:
  8.     /**
  9.      * Called after the module has been loaded.
  10.      */
  11.     void StartupModule() override;
  12.  
  13.     /**
  14.      * Called before the module is unloaded.
  15.      */
  16.     void ShutdownModule() override;
  17. public:
  18.     /**
  19.      * Renders the hierarchy panel.
  20.      */
  21.     void RenderHierarchy();
  22. public:
  23.     /**
  24.      * Gets the name of the module.
  25.      *
  26.      * @return The name of the module.
  27.      */
  28.     const char* GetName() override { return "Hierarchy"; }
  29.  
  30.     /**
  31.      * Checks to see if the module is a game module.
  32.      *
  33.      * @return Whether or not the module is a game module.
  34.      */
  35.     bool IsGameModule() const override { return false; }
  36. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement