Examples¶
Minimal engine plugin¶
class HealthPlugin : public Engine::IPlugin {
public:
void Init(Engine::Registry& registry) override {
registry.RegisterComponent<Health>();
registry.RegisterSystem<HealthSystem>();
}
};
Minimal editor plugin¶
See Editor plugins for a complete HealthPluginEditor.
Shape example¶
The Games/Shape example registers ShapePlugin and draws a moving rectangle. The
Games/Collisions example adds colliders, layers, and trigger events.
Networking example¶
The Games/MultiplayerLowLevelSDK example uses Net.send and Net.on directly. The
higher-level replication path is documented in Networking.