wave6-ecb-set-component-enabled

Community

Deterministically enable/disable components via ECB.

AuthordyCuong03
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you reliably record deferred enable/disable commands for IEnableableComponent types in Unity DOTS using a deterministic ordering, avoiding order-dependent playback issues in parallel jobs.

Core Features & Use Cases

  • Deferred parallel toggling: Record component enable/disable decisions from parallel IJobEntity or IJobChunk work using ECB.SetComponentEnabled<T>().
  • Deterministic playback: Use a deterministic sort key ([ChunkIndexInQuery]) so that conflicting commands for the same entity resolve predictably.
  • Cross-entity enable/disable: Enable or disable a different entity than the one being iterated when EnabledRefRW cannot be used.
  • Performance-safe guidance: Prefer ECB toggles over structural changes (AddComponent/RemoveComponent) for frequent runtime toggling.

Quick Start

Ask the agent to update your job so it uses ECB.SetComponentEnabled<T>(chunkIndex, entity, inRange) with a [ChunkIndexInQuery] parameter for deterministic parallel playback.

Dependency Matrix

Required Modules

None required

Components

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: wave6-ecb-set-component-enabled
Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave6-ecb-set-component-enabled

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.