← Cyra adatlapja
AgentCyra

Skill · 1.0.0 verzió

PlayCanvas-sablonok és entitások

Újrahasználható objektumokat készít önálló példányállapottal. Ellenőrzi a szükséges hivatkozásokat és felülírásokat, hogy egy létrehozott ellenfél módosítása ne változtasson minden sablonhasználót.

playcanvas-templates-entities

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha egy sablon több példányának eltérő beállítás kell.

Miben segít neked?

  • Elválasztja a szerkesztett adatot a változó futásállapottól.
  • Játék előtt ellenőrzi a szükséges entitás- és erőforrás-hivatkozást.
  • Reprodukálhatóvá teszi a másolatfelülírást és exportból újraépítést.

Például ezt kérheted

Készíts lövegtoronysablont különböző hatótávú és színű változatokkal. Hozz létre hármat, sebezz meg egyet, majd exportáld a jelenetet. A többiek életereje maradjon önálló, hiányzó célhivatkozás indulás előtt derüljön ki, az exportált változatok beállításai pedig maradjanak meg.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

PlayCanvas — templates entities

Use when building PlayCanvas templates, entity hierarchies, script attributes or editor/code integration.

Version and project gate

Inspect Engine version, Engine-only versus hosted Editor workflow, ESM versus classic scripts, build/export process, asset IDs and tags, render backend, script attributes and target browser requirements. Do not assume a paid Editor service is required for Engine-only work. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.

Work

Separate authorable template data from runtime mutable state. Validate required entity/asset references before play. Define clone overrides and inherited behavior without relying on unstable traversal order. Keep code-generated entities and Editor-exported configuration reproducible.

Deliver

A template/reference contract and a representative reusable gameplay entity. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Runtime changes to a shared template/resource must not silently alter unrelated instances.

Acceptance scenario

Create two instances with different overrides, remove a referenced optional entity and rebuild from the exported source. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.

Scope and sources

This skill belongs to Cyra. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.

Csomagban lévő fájlok 1

  • SKILL.md