text: #pragma once
  #include "cocos2d.h"
  
  class ImGuiLayer : public cocos2d::Layer
  {
  public:
      static ImGuiLayer* create();
  protected:
      virtual bool init() override;
      virtual void visit(cocos2d::Renderer *renderer, const cocos2d::Mat4& parentTransform, uint32_t parentFlags) override;
      void onDraw();
  };
  