Skip to content

Prefs

Purpose

Owns editor preference persistence for lighting-related editor behaviour and lighting state storage.

This territory stores lightweight lighting editor state without owning rendering or preview orchestration.

Owns

  • Lighting EditorPrefs
  • Lighting foldout/editor state
  • Last-used lighting preset tracking
  • Serialized lighting state persistence

Does NOT Own

  • Rendering implementation
  • Preview orchestration
  • Export workflows
  • Panel UI rendering
  • Preset file persistence

Allowed Dependencies

Prefs may depend on:

  • Models
  • Unity Editor preference APIs
  • Serialization utilities

Prefs should avoid depending on:

  • rendering systems
  • export systems
  • preview orchestration systems

Notes

Prefs owns session/editor persistence. Presets own reusable file-based persistence.

That distinction is intentional.

Future Candidates

  • Continue separating editor/session state from reusable presets.
  • Keep preference systems lightweight and storage-focused.