---
title: "Implementing the Inventory System"
content_type: tutorial
url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/implementing-the-inventory-system?language=en"
language: en
container_type: course
container_title: "Artificial Intelligence for Beginners"
container_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners.md?language=en&version=6.0"
unit_title: "Goal Driven Behaviour"
unit_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour?language=en&version=6.0"
standalone_markdown_url: "https://learn.unity.com/tutorial/implementing-the-inventory-system.md?language=en&version=6.0"
previous_title: "Adding More Resources to the World"
previous_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/adding-more-resources-to-the-world?language=en&version=6.0"
previous_markdown_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/adding-more-resources-to-the-world.md?language=en&version=6.0"
next_title: "Moving the Nurse"
next_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/moving-the-nurse?language=en&version=6.0"
next_markdown_url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/moving-the-nurse.md?language=en&version=6.0"
difficulty: intermediate
duration_minutes: 15
unity_version:
  - "6.0"
supported_unity_versions:
  - name: "6.0"
    url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/implementing-the-inventory-system.md?language=en&version=6.0"
  - name: "2021.3"
    url: "https://learn.unity.com/course/artificial-intelligence-for-beginners/unit/goal-driven-behaviour/tutorial/implementing-the-inventory-system.md?language=en&version=2021.3"
  - name: "2019.4"
    url: "https://learn.unity.com/tutorial/implementing-the-inventory-system.md?language=en&version=2019.4"
  - name: "2019.3"
    url: "https://learn.unity.com/tutorial/implementing-the-inventory-system.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/tutorial/implementing-the-inventory-system.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/tutorial/implementing-the-inventory-system.md?language=en&version=2019.1"
last_updated: "2026-08-04T14:23:50.000Z"
---

# Implementing the Inventory System

Build an agent action that checks inventory items to send the patient GameObject to the correct cubicle.

In this tutorial students will learn how to manage an inventory of resources that can be used by agents in the completion of actions.

## Materials

- [S1015Scripts.zip](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b654a6fc-8b55-5736-ae63-c59569fe01bd/versions%5B_key==%223bd2cf6d6965de224c0921d93a4739c4%22%5D.materials%5B_key==%22527ddc807b9b%22%5D.file/S1015Scripts_20260320_215518.zip)

## 1. Implementing the Inventory System

[Video](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b654a6fc-8b55-5736-ae63-c59569fe01bd/versions%5B_key==%223bd2cf6d6965de224c0921d93a4739c4%22%5D.sections%5B_key==%224efpH3AVCNp2JmxqIPcyzd%22%5D.body%5B_key==%224efpH3AVCNp2JmxqIPcz0C%22%5D.overviewVideo/S1015_20260320_072949.mp4) ([Transcript (en)](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/b654a6fc-8b55-5736-ae63-c59569fe01bd/versions%5B_key==%223bd2cf6d6965de224c0921d93a4739c4%22%5D.sections%5B_key==%224efpH3AVCNp2JmxqIPcyzd%22%5D.body%5B_key==%224efpH3AVCNp2JmxqIPcz0C%22%5D.subtitles/S1015%20VTT%20en_20260525_225307.vtt))
