| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| Packages/com.gamecult.brokkr | ||
| README.md | ||
Brokkr Unity Adapter
This package lets the Unity Editor publish its scene, component, asset, command, receipt, Quest, and Eve/CultUI state as typed CultCache documents synced through CultMesh.
Install By Local Path
Add this package to a Unity project's Packages/manifest.json:
"com.gamecult.brokkr": "file:E:/Projects/Brokkr/surfaces/unity/Packages/com.gamecult.brokkr"
Vendor the CultMesh runtime DLLs before opening Unity:
.\tools\vendor-cultmesh-unity.ps1
Then open GameCult > Brokkr.
Local Smoke
In Unity:
- Open
GameCult > Brokkr. - Confirm
Broker URIiscultmesh://brokkr. - Confirm
CultMesh Cachepoints at.brokkr/unity-editor.ccmp. - Click
Start CultMesh Mirror. - Click
Capture Snapshot. - Click
Publish Mirror. - To create a ScriptableObject through the mirror, fill
ScriptableObject Type,Asset Name, andAsset Path, then clickCreate ScriptableObject Asset. - To instantiate or variant a prefab through the mirror, fill
Prefab Asset Path, optionalInstance Name, and optionalVariant Path, then click the matching prefab command.
The Unity adapter writes the latest editor snapshot to:
unity/host/current
Verse-side command clients write brokkr.unity.command_intent.v0 documents to:
unity/commands/{commandId}
Unity watches those command intents, mutates the editor, and publishes receipts to:
unity/receipts/{commandId}
Recognized Unity asset commands include:
instantiatePrefabcreatePrefabVariantcreateScriptableObject
The Unity plugin is still an adapter. Unity owns Unity editor truth; Brokkr owns provider discovery; CultCache and CultMesh own the live mirror lane.