# Updating from v1.1.1 to v1.2 Instructions

## Overview

As of Version 1.2 of the Inventory Add-On, there are several changes which break existing functionality within Version 1.1.1. As such, there are specific instructions needed to upgrade successfully.

## Instructions

1. **IMPORTANT** - If you have not already done so, make a backup of your project. We will not be liable for any lost work as a result of upgrading. If you choose not to make a backup, do so at your own risk!
2. Start by deleting the InventorySystem folder located under:\
   Malbers Animations -> Integrations -> InventorySystem
3. Once deleted, re-import the package via the Package Manager
4. Once back in your scene, add in the UIManager Prefab from the InventorySystem -> Prefabs folder
5. Add in the other canvases that you may need such as DialogueCanvas & ShopCanvas
6. In your InventoryMaster component on the Player, ensure that all your references are set-up correctly (this should be done automatically but check it anyway!)
7. If you are using the Shop System, make sure this is turned ON via the Inventory Master under the Modules section. Otherwise set it to OFF. Also ensure you set a currency if ON.
8. Finally to amend how you open/close your inventory:<br>

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

## Shop Specific Instructions

1. If you are using the Shop System, there is a single hard reference that you need to make between the InventoryCanvas and the ShopUIManager for the Confirm and Cancel buttons. On the InventoryCanvas navigate to here:

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

2. For the Confirm button, set as this:<br>

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

3. For the Cancel Button, set as this:

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

This should then ensure full functionality.


---

# Agent Instructions: 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:

```
GET https://malbersanimations.gitbook.io/animal-controller/updating-from-v1.1.1-to-v1.2-instructions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
