← Cyra adatlapja
AgentCyra

Skill · 1.0.0 verzió

PlayCanvas WebXR-munkamenetek

Megtervezi az XR-belépést és kilépést a normál játékvezérlés megőrzésével. Kezeli a támogatottságot, követésvesztést és elutasított munkamenetet, jelezve a még szükséges valódi eszköztesztet.

playcanvas-webxr-sessions

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha böngészős játékhoz headsetes módot adsz.

Miben segít neked?

  • Ellenőrzi a biztonságos környezetet és tényleges eszközképességet.
  • A meglévő művelethez kapcsolja az XR-bemenetet, kezeli az erőforrásokat.
  • Kezeli az elutasított belépést, kilépéskor visszaállítja a normál nézetet.

Például ezt kérheted

A kincskereső játékhoz adj AR-vizsgálati módot. Próbálj nem támogatott eszközt, megszakított belépést és követésvesztést, majd térj normál kamerára. A felület magyarázza el a hiányzó funkciót és állítsa vissza a bemenetet; jelöld a valódi eszközön ellenőrzött átmeneteket.

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 — webxr sessions

Use when implementing requested PlayCanvas WebXR sessions, tracked input or XR presentation.

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

Check the installed XR API, secure context and session/device capabilities. Define entry, rejection, tracking loss and exit behavior. Map XR input into the same game commands as standard input and clean session-owned resources. Use measured device behavior for comfort decisions.

Deliver

An XR lifecycle and interaction contract with explicit device checks still needed. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

A browser emulator cannot establish headset tracking or user comfort.

Acceptance scenario

Cancel entry, lose a controller, leave XR and continue in the standard view without duplicated input or render ownership. 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