systemapi-query-main-thread
CommunityIterate entities safely on the main thread.
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of writing verbose and error-prone entity iteration code by providing a concise SystemAPI main-thread query pattern with correct read/write intent.
Core Features & Use Cases
- Main-thread entity iteration: Use source-generated SystemAPI.Query to run per-entity logic on the main thread when you cannot parallelize.
- Correct component access intent: Declare RefRO for read-only data and RefRW for writable components to avoid false dependencies.
- Query filtering and safety guidance: Apply WithAll/WithAny/WithNone for matching entities and avoid archetype mutation patterns that can invalidate iterators.
Quick Start
Use the systemapi-query-main-thread skill to generate a main-thread SystemAPI.Query loop that updates component data with RefRW/RefRO and safe filtering for your specific entity set.
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: systemapi-query-main-thread Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#systemapi-query-main-thread 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.