Skip to content

The Resource Display component helps with show resources to the player in the UI so they can see how much of a resource they have. This component uses a data table of resources so any resource can be displayed along with an easy way to reorder the resources.

License

Notifications You must be signed in to change notification settings

ManticoreGamesInc/CC-Resource-Display

Repository files navigation

Resource Display

Build Status GitHub release (latest by date)

Preview

Finding the Component

This component can be found under the CoreAcademy account on Community Content.

Overview

The Resource Display component helps with show resources to the player in the UI so they can see how much of a resource they have. This component uses a data table of resources so any resource can be displayed along with an easy way to reorder the resources.

How to use

Drag the Resource Display template into the hierarchy.

To add resources, there is a data table called Resource Display that has 2 columns. ResourceKey column is the name of the resource, and the Icon column is the icon to display for this resource in the UI.

On the root of the Resource Display template, there are 2 custom properties.

  • ShowAmount

    If enabled, the resource amount will be shown in the UI for each resource.

  • Spacing

    The spacing between each resource item in the UI.

About

The Resource Display component helps with show resources to the player in the UI so they can see how much of a resource they have. This component uses a data table of resources so any resource can be displayed along with an easy way to reorder the resources.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks