Class Engine::SignalPlugin¶
ClassList > Engine > SignalPlugin
Registers the SignalConnections component for Godot-style signal connections (Component.connect in Lua, Connections section in the editor Inspector).
#include <SignalPlugin.hpp>
Inherits the following classes: Engine::IPlugin
Public Functions¶
| Type | Name |
|---|---|
| virtual void | Init (Registry & registry) override Initializes the plugin, registering components and systems. |
Public Functions inherited from Engine::IPlugin¶
See Engine::IPlugin
| Type | Name |
|---|---|
| virtual void | Init (Registry & registry) = 0 Initializes the plugin, registering components and systems. |
| virtual | ~IPlugin () = default |
Public Static Functions¶
| Type | Name |
|---|---|
| void | AttachToEntity (Registry & registry, Entity entity) Adds an empty SignalConnections to an entity. |
Public Functions Documentation¶
function Init¶
Initializes the plugin, registering components and systems.
Parameters:
registryA reference to the main ECS registry.
Implements Engine::IPlugin::Init
Public Static Functions Documentation¶
function AttachToEntity¶
Adds an empty SignalConnections to an entity.
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Plugins/SignalPlugin.hpp