> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/basic-setup-instructions/setting-up-the-notifications.md).

# Setting up the Notifications

<figure><img src="/files/fgPtNL9dY9AB7YsQxJlu" alt=""><figcaption></figcaption></figure>

## Setup

Setup for adding notifications is simple!

In your prefabs folder you should have a notification canvas. Drag that into your scene.&#x20;

As a child of the Canvas, you should have a NotificationManager with the same named component.&#x20;

<figure><img src="/files/eNtPevC312yI5NRuYj6K" alt=""><figcaption></figcaption></figure>

The manager is what controls the notifications and you have several options. In general, you should leave it as it is.

If your component isn't already set up with the references, set them up as per the screenshot. You'll find the NotificationExample in the Prefabs folder too. You can edit the layout to your own needs.

{% hint style="warning" %}
**Do NOT remove the Vertical Layout Group as this is what controls the Notification stacking. Otherwise all notifications will just appear on top of one another.**&#x20;
{% endhint %}

Depending on your screen resolution, you may need to alter the canvas scaler on the Notification Canvas to your own needs. The resolution it's been developed on is 1920 x 1080 but if you have a smaller or larger screen, this may need altering to look correct on your chosen resolution.&#x20;

Finally on your InventoryMaster component, turn on the **Notifications** tickbox:<br>

<figure><img src="/files/Ph6sOaksZn77tzuEo81f" alt=""><figcaption></figcaption></figure>


---

# 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://malbersanimations.gitbook.io/animal-controller/basic-setup-instructions/setting-up-the-notifications.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.
