#ifndef PROC_NODES_EDITOR_PLUGIN_H
#define PROC_NODES_EDITOR_PLUGIN_H
#ifdef TOOLS_ENABLED
#include "../scene/proc_geometry_node.h"
#include "proc_graph_edit.h"
#include <godot_cpp/classes/editor_plugin.hpp>
namespace godot {
class ProcNodesEditorPlugin : public EditorPlugin {
GDCLASS(ProcNodesEditorPlugin, EditorPlugin);
protected:
static void _bind_methods();
ProcGraphEdit *graph_editor = nullptr;
ProcGeometryNode *edited_node = nullptr;
public:
String _get_plugin_name() const override { return "ProcNodes"; }
bool _handles(Object *p_object) const override;
void _edit(Object *p_object) override;
void _make_visible(bool p_visible) override;
ProcNodesEditorPlugin();
~ProcNodesEditorPlugin();
};
} // namespace godot
#endif // TOOLS_ENABLED
#endif // PROC_NODES_EDITOR_PLUGIN_H