Simple Resources Help

Quickstart

Plugin Overview

This quickstart guides you through:

Part 1: Creating a Resource

The system is driven by Resource Data Assets. So first we need to create one.

Create a new data asset

CreateDataAsset.png

Select Simple Resource Definition from the list

PickClassForDataAsset.png

Part 2: Player Resources Component

Add the component to your player state

AddPlayerResourcesComponent.png

(Optional) Define "Starting Resources" for the player

These resources will be added when the component is initialized

DefineStartingResources.png

Part 3: Player Resources UI

In the plugin content folder, there's a Demo folder, which contains example UI widgets

Both the card and list widgets use Style Objects, similar to how CommonUI works, allowing you to re-use the base styles and such throughout your project.

Simple Resource Card

A simple card which can be used to display a resource amount, or the players resource amount.



ExampleResourceCard.png

Simple Resource List

Displays a list of simple resource cards, using the players resource values, typically this would be a bar used in rts style games.

ExampleResourcesCard.png
Last modified: 05 August 2025