🎮 Magic Node Plugin for Unreal Engine


✨ Overview

Magic Node is a powerful plugin for Unreal Engine that allows developers to write C++-like code directly within Blueprint nodes. It provides a scriptable node system where you can dynamically write, compile, and run custom logic inline with the Blueprint visual scripting system.

🔹 Script on the Fly
🔹 C++-Styled Syntax
🔹 Dynamic Runtime Execution
🔹 Editor Integration

Ideal for prototyping or fine-tuned logic without leaving the Blueprint Editor.


🧱 Features

✅ Scriptable Blueprint Nodes

🧠 Runtime Node Object

UMagicNode is the base object that acts like a mini-script component at runtime:

🧩 Blueprint-Embedded Scripts

UMagicNodeScript stores source code and metadata:

🧮 Visual Node Integration

UKMGC_MagicNode is the K2 node implementation:


🔧 Usage

Adding a Magic Node

  1. Open your Blueprint Editor.
  2. Right-click → Search for Magic Node Script.
  3. Drag it into the graph and double-click to open the script editor.

Writing a Script

Lifecycle Functions

Override the following virtual functions in your script:

void Awake();     // Called once when node is created
void Start();     // Called before first Update
void Update(float DeltaTime); // Called every tick
void Stop();      // Called when node is finished

🛠️ Developer API

UMagicNode

UMagicNodeScript

UKMGC_MagicNode


🎨 Editor Integration


🧩 Dependencies

This plugin utilizes several Unreal Engine modules:

It also uses:


📸 Screenshot

Magic Node Blueprint Editor