> For the complete documentation index, see [llms.txt](https://santutu.gitbook.io/interface-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://santutu.gitbook.io/interface-reference/readme.md).

# 1. Interface Reference

Serialize and assign interface-typed fields in the Unity Inspector.

Page 1 of 5

![Interface Reference](https://829707912-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN9gLroJGsCGVZx1o40ml%2Fuploads%2Fgit-blob-222ef9fc9a295594b048e2988dbe163cfc40bed0%2Fcard-420x280.png?alt=media)

Serialize interface-typed fields in the Unity Inspector. Assign Unity Objects or SerializeReference implementors through a typed field and the Implementor Picker.

## Video

<https://www.youtube.com/watch?v=euFlw4jJy_8>

## Who this is for

Interfaces define a stable contract while implementations change — expected practice for professional programmers. Unity cannot serialize interface-typed fields by default. Use this package when you need those fields in the Inspector without hand-rolled drawers.

## Table of contents

| Page | Section                                                             | What you get                                                                        |
| ---- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| 1    | Interface Reference                                                 | This page                                                                           |
| 2    | [Installation](/interface-reference/installation.md)                | Asset Store; Samples                                                                |
| 3    | [Quick Start](/interface-reference/quick-start.md)                  | `InterfaceRef` getter + SerializeReference; assign                                  |
| 4    | [Picker Settings](/interface-reference/settings/picker-settings.md) | Unity Object cache (Scene / Assets)                                                 |
| 5    | [API](/interface-reference/reference/api.md)                        | `Value`, helpers, type variants; `[SerializeReference]` + `[SerializeRefInspector]` |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://santutu.gitbook.io/interface-reference/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
