Stride-entitások és prefabok
Újrahasználható jelenetobjektumot készít önálló futásidejű állapottal. Ellenőrzi a komponenseket és hivatkozásokat, valamint a létrehozott gyermekek gazdáját, hogy egy példány törlése ne sértse a másikat.
stride-entities-prefabs
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha eltérő beállítással példányosítasz Stride-prefabot.
Miben segít neked?
- Elválasztja a szerkesztett konfigurációt a változó példányállapottól.
- Induláskor ellenőrzi a szükséges komponenst és stabil azonosítót.
- Meghatározza a gyerekobjektum és külső hivatkozás élettartamát.
Például ezt kérheted
Készíts toronyprefabot forgó fejjel és létrehozott lövedékekkel. Helyezz el három változatot, sebezz egyet, egy másikat lövés közben távolíts el. Az életerő és célzás legyen önálló, a hiányzó hivatkozás induláskor derüljön ki, a lövedék pedig kövesse a kijelölt tulajdonosi szabályt.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Stride — entities prefabs
Use when building Stride entities, components, prefabs or scene composition.
Version and project gate
Inspect Solution/project packages, exact Stride version, Game Studio/editor environment, asset and prefab files, Startup/Sync/AsyncScript usage, physics packages/backends, graphics profile and target platform. Do not assume every editor or physics feature exists on every host. 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 prefab-authorable configuration from per-instance runtime state. Validate required component/entity references at initialization. Define ownership for spawned children and external services. Preserve stable content identifiers rather than relying on arbitrary entity traversal order.
Deliver
A prefab/component contract and representative reusable gameplay entity. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A clone’s references may still point to shared external state; parenting implies a lifetime choice, not just a transform choice.
Acceptance scenario
Spawn two differently configured instances, remove their parent and reload the scene while checking reference and cleanup behavior. 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 Strider. 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
