ecb-manual-immediate
CommunityApply structural changes instantly in one update
Software Engineering#playback#ECS#entity-command-buffer#unity-dots#structural-changes#one-shot-initialization#OnUpdate
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the need to run structural Entity Component System (ECS) changes immediately within the same OnUpdate cycle rather than waiting for an ECBSystem boundary.
Core Features & Use Cases
- Inline one-shot ECB playback: Record commands into a temporary EntityCommandBuffer and execute them immediately via
ecb.Playback(state.EntityManager). - Same-system visibility: Ensure structural changes (instantiate/destroy/set component) are applied within the same update so downstream logic in the same system tick observes the results.
- Safe one-shot initialization + cleanup: Support init systems that spawn entities and immediately dispose of the trigger entity to prevent reruns.
Quick Start
Ask the agent to update your one-shot ISystem so it creates a temporary EntityCommandBuffer, records your instantiate/set/destroy commands during iteration, and then calls ecb.Playback(state.EntityManager) before the update ends.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ecb-manual-immediate Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#ecb-manual-immediate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.