> For the complete documentation index, see [llms.txt](https://cowsinss-organization.gitbook.io/save-and-load-add-on/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cowsinss-organization.gitbook.io/save-and-load-add-on/content/03.-content/03.8-type-registry/typetoprefabmappingdrawer.md).

# TypeToPrefabMappingDrawer

## Type to Prefab Association Guide

### Overview

This simplifies the process for users to associate a prefab with a specific type using the TypeToPrefabMappingDrawer. The Inspector is designed with two distinct sections:

#### Left Section: Type Selection

* **Dropdown Menu**: This is your starting point. Here, users can select from a list of all classes that inherit from the `CustomSaveData`. This component ensures that only relevant data types can be chosen for association.
* **CustomSaveData Classes**: Only classes derived from `CustomSaveData`, including specialized Player properties, are eligible for selection. This constraint helps maintain data integrity and focuses on data that can be stored effectively.

#### Right Section: Prefab Association

* **Drag and Drop Feature**: Users can effortlessly drag and drop a prefab into this section. This action directly associates the prefab with the selected type from the left section, streamlining the workflow and making it highly intuitive.
* **Prefab Assignment**: Once a prefab is dropped, it is linked with the type, allowing for seamless integration of data and assets within your project.

For more related information, please refere to [TypeRegistry](/save-and-load-add-on/content/03.-content/03.8-type-registry/typeregistry.md) & [GameDataManager](/save-and-load-add-on/content/03.-content/03.1-datapersistence/gamedatamanager.md).

<figure><img src="https://2305086192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNTLRi1iZ5Q5ZZ3QJ1Q70%2Fuploads%2F9cdTTHfWnLO1oR1ZrVCe%2Fimage.png?alt=media&amp;token=fa6d09bf-b7f1-493b-936b-1d48d7a4de25" alt=""><figcaption></figcaption></figure>
