---
title: "The World States"
content_type: tutorial
url: "https://learn.unity.com/tutorial/the-world-states?language=en"
language: en
difficulty: intermediate
duration_minutes: 15
unity_version:
  - "6.0"
supported_unity_versions:
  - name: "6.0"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en&version=6.0"
  - name: "2021.3"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en&version=2021.3"
  - name: "2019.4"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en&version=2019.4"
  - name: "2019.3"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en&version=2019.1"
available_languages:
  - name: "en"
    url: "https://learn.unity.com/tutorial/the-world-states.md?language=en"
  - name: "ja"
    url: "https://learn.unity.com/tutorial/warudosuteto.md?language=ja"
last_updated: "2026-08-04T14:21:58.000Z"
---

# The World States

Begin implementing world state classes that store and update game environment data used for GOAP planning.

In this tutorial, students will learn how to setup classes to store the world states to be queried and set by the agents as they act in it.

## 1. The World States

[Video](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/2c0902ea-7f62-55eb-a21f-84d5005d3241/versions%5B_key==%225f3075f9ffbbf221b5a1642e191a9102%22%5D.sections%5B_key==%224efpH3AVCNp2JmxqIPXud9%22%5D.body%5B_key==%224efpH3AVCNp2JmxqIPXudi%22%5D.overviewVideo/S1004_20260320_071508.mp4) ([Transcript (en)](https://storage.googleapis.com/learn-platform-bucket-production/tutorial/2c0902ea-7f62-55eb-a21f-84d5005d3241/versions%5B_key==%225f3075f9ffbbf221b5a1642e191a9102%22%5D.sections%5B_key==%224efpH3AVCNp2JmxqIPXud9%22%5D.body%5B_key==%224efpH3AVCNp2JmxqIPXudi%22%5D.subtitles/S1004%20VTT%20en_20260525_221031.vtt))
