Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Tutorial] Create a map system with UI Toolkit

Discussion in 'Community Learning & Teaching' started by Yecats, Nov 28, 2021.

  1. Yecats

    Yecats

    Joined:
    Jul 13, 2014
    Posts:
    69

    Maps are important for many games as they help guide the player towards key initiatives and if done right, help engross them further into the world. There are two types of maps – full map and a mini map. This tutorial will walk through how to implement both using UI Toolkit.



    Learning outcomes
    This tutorial will cover advanced scenarios of UI Toolkit and how you can create a full and mini map. By the end, you will learn:
    • A practical workflow for building a reusable map that can be displayed in full or mini mode.
    • Basic masking in UI Toolkit.
    • Advanced stylesheet techniques using complex selectors.
    • Animating style properties in C# with UI Toolkit’s experimental animation features.
    Prerequisites
    • You should have Unity 2021.2 or later to follow along with this tutorial.
    • This tutorial assumes you have basic knowledge of Unity and UI Toolkit.
     
    Last edited: Oct 13, 2023
    Gasimo likes this.