Skip to content

Prefs

Purpose

Owns window-specific preference persistence helpers used by Snap Studio Pro editor windows.

This territory stores editor-window layout state and lightweight window preference data.

Owns

  • Window layout persistence
  • Panel size persistence
  • Window preference reset helpers
  • Editor-window state storage

Does NOT Own

  • Feature preferences
  • Rendering implementation
  • Workflow orchestration
  • Preview lifecycle ownership
  • Export execution

Allowed Dependencies

Prefs may depend on:

  • Infrastructure preference keys
  • Unity EditorPrefs APIs

Prefs should avoid depending on:

  • rendering systems
  • preview systems
  • export systems
  • feature orchestration systems

Notes

Window prefs intentionally own only editor-window state such as: - panel dimensions - layout persistence - lightweight editor-window preferences

Feature-specific preference ownership belongs in the relevant feature territory.

Future Candidates

  • Keep window preferences isolated from feature preferences.
  • Maintain explicit layout persistence ownership.
  • Avoid embedding workflow logic into preference systems.