dots-enableable-components
CommunityFlip state fast with enableable components
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you avoid expensive structural changes in Unity DOTS by choosing IEnableableComponent when you need to toggle entity state frequently, so your systems stay fast and predictable.
Core Features & Use Cases
- Enable/disable without archetype moves: Use IEnableableComponent to flip an enabled bit instead of adding/removing components to prevent chunk shuffling and copying.
- Correct query semantics: Understand how default queries skip disabled components and how IgnoreComponentEnabledState changes what your systems iterate.
- Safe job toggling: Use EnabledRefRW/EnabledRefRO for direct job writes or ECB.SetComponentEnabled when enabling entities outside the current query.
Quick Start
Use dots-enableable-components when designing a hot-path boolean state that flips often (cooldowns, dirty/dead-alive flags, paused/active tags) and you want to toggle it safely in Burst jobs without structural churn.
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: dots-enableable-components Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#dots-enableable-components 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.