Editor API
UnigineEditor public API
Editor::Plugin Class Referenceabstract

This class is used for plugin interface implementation when creating Editor plugins. It is a base class for all Editor plugins. More...

#include <Plugin.h>

Public Member Functions

 Plugin ()
 
virtual ~Plugin ()
 
virtual bool init ()=0
 Plugin initialization. Override this method to implement specific initialization for your plugin. More...
 
virtual void shutdown ()=0
 Plugin shutdown and cleanup. Override this method to implement your plugin's shutdown. More...
 

Detailed Description

This class is used for plugin interface implementation when creating Editor plugins. It is a base class for all Editor plugins.

Constructor & Destructor Documentation

◆ Plugin()

Editor::Plugin::Plugin ( )

◆ ~Plugin()

virtual Editor::Plugin::~Plugin ( )
virtual

Member Function Documentation

◆ init()

virtual bool Editor::Plugin::init ( )
pure virtual

Plugin initialization. Override this method to implement specific initialization for your plugin.

Returns
true if the plugin was successfully initialized; otherwise, false.

◆ shutdown()

virtual void Editor::Plugin::shutdown ( )
pure virtual

Plugin shutdown and cleanup. Override this method to implement your plugin's shutdown.