Skip to content

Prefab

Purpose

Owns editor UI panels for configuring prefab-specific preview behaviour inside Snap Studio Pro.

This territory provides user-facing controls for prefab transforms, attachment visibility, material overrides, preview-only material editing, and prefab customization workflows.

Owns

  • Prefab transform UI
  • Attachment visibility UI
  • Material override UI
  • Preview-only material editing
  • Shared transform controls
  • Prefab customization workflows
  • User-facing prefab preview configuration

Does NOT Own

  • Prefab repository ownership
  • Rendering implementation
  • Material rendering pipeline implementation
  • Preview scene lifecycle ownership
  • Export execution
  • Thumbnail generation

Allowed Dependencies

Prefab panels may depend on:

  • Preview facades
  • Prefab feature systems
  • Shared panel helpers
  • Shared transform models
  • Rendering abstractions
  • Unity prefab/material/editor APIs

Prefab panels should avoid depending directly on:

  • rendering implementation systems
  • export workflow systems
  • pipeline-specific rendering internals

Notes

Prefab panels are intentionally preview-focused.

They allow users to: - manipulate prefab transforms - toggle attachments - preview material edits - customize prefab appearance for export workflows

MaterialSettingsPanel intentionally edits preview-safe material instances rather than mutating source assets directly.

Attachment and material editing workflows belong here because they are user-facing preview configuration concerns.

Rendering and material implementation details remain delegated elsewhere.

Future Candidates

  • Continue protecting preview-only material workflows from asset mutation.
  • Keep prefab customization UI isolated from rendering implementation.
  • Maintain clear separation between prefab preview configuration and prefab repository ownership.