wave6-is-component-enabled-check

Community

Branch safely on enabled ECS component state.

AuthordyCuong03
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the need to reliably read whether a specific enabled/disabled ECS component is currently active so you can make correct main-thread decisions before enabling or disabling anything.

Core Features & Use Cases

  • Imperative main-thread enabled-state checks: Use EntityManager.IsComponentEnabled<T>(entity) to branch logic based on the component’s enabled bit.
  • Single-entity enable/disable workflows: Commonly paired with SetComponentEnabled<T>(entity, bool) for targeted behavior changes.
  • Correctness vs. structural presence: Distinguishes enabled-bit state (IsComponentEnabled) from structural presence (HasComponent), avoiding silent logic bugs.

Quick Start

Use state.EntityManager.IsComponentEnabled<Carry>(playerEntity) in your main-thread update to decide whether to run the drop branch or search for a candidate entity to enable.

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

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.