This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/projects/azbuka/technical-spec.md

3.6 KiB
Raw Blame History

Uni3DABC Technical Specification

Last updated: 2026-06-23

Goal

Create a Unity application for learning alphabets, writing systems, symbols, and words through short 3D episodes.

The first content set is Russian. Each episode should show:

  • a large 3D letter;
  • a word associated with the letter;
  • a thematic object or character;
  • a short appearance/action animation;
  • optional letter/word audio.

Stack

  • Unity: 6000.4.1f1 in the current post/uni3d_ABC workspace.
  • Render pipeline: URP.
  • Runtime language: C#.
  • Animation: Unity Timeline and Animator.
  • Data: ScriptableObjects.
  • Task manager: Taskmaster files inside the project.

Letter Source

Use this file as the current Russian source of letter order and word candidates:

Assets/0abc/Content/Languages/ru/Alphabets/russian_cyrillic/Sources/alphabet_big.html

It contains all 33 letters:

А Б В Г Д Е Ё Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

For Ъ, Ы, and Ь, select words where the letter is visible inside the word because these letters normally do not start Russian words.

Production Asset Structure

Long-term target:

Assets/0abc/Content/
  Languages/
    <language-id>/
      Alphabets/
        <alphabet-or-script-id>/
          Sources/
          LetterSets/
            <style-set-id>/
              Symbols/
                <index>_<symbol-code>/
                  Letter/
                  WordEpisodes/
                    <word-slug>/
  Shared/
  GlobalStyles/
  UI/
  Settings/

This structure must support many languages including Russian, English, Chinese, Spanish, French, German, Italian, Portuguese, Arabic, Persian, Turkish, Japanese, Korean, Swedish, Danish, Indonesian, Filipino, and later additions.

The data model must support alphabetic scripts, syllabaries, abjads, logographic character sets, left-to-right writing, and right-to-left writing.

Current Russian default_3d structure:

Each symbol has a dedicated folder:

Assets/0abc/Content/Languages/ru/Alphabets/russian_cyrillic/LetterSets/default_3d/Symbols/<index>_<code>/
  Audio/
  Timeline/
  Prefabs/
  Models/
  Materials/
  Scenes/
  Textures/
  Concepts/
  Data/

Shared project assets:

Assets/0abc/Content/Shared/
Assets/0abc/Scripts/
Assets/0abc/Scenes/
Assets/0abc/Generated/
Assets/0abc/Tools/

Prototype folders remain historical until audited:

Assets/0abc/temp/
Assets/0abc/tempScene/

Required Runtime Components

  • LanguageData: language metadata, locale, native name, writing direction, and available alphabets/scripts.
  • AlphabetData / ScriptData: ordered set of symbols for a language.
  • SymbolData: learnable unit such as letter, syllable, character, or sign.
  • LetterStyleSetData: visual design set for a symbol collection.
  • WordEpisodeData: concrete word/object/animation/audio episode.
  • AlphabetManager or language-aware equivalent: selection, next, previous, replay, and menu flow.
  • LetterSceneController: scene-level object spawning, word display, audio, and timeline playback.
  • Production scene template with camera, light, spawn points, UI, and controller references.

MVP

The first vertical slice should cover:

  • 01_A - А / Арбуз
  • 02_B - Б / Барабан
  • 03_V - В / Ворона

MVP is complete when these three episodes run through one shared data-driven system.

The MVP may keep Russian and default_3d fixed in UI, but the runtime data model must not hard-code Russian-only assumptions.

Verification

On 2026-06-23, Unity MCP recompile_scripts passed with 0 warnings after adding the initial data model.