This document is about: QUANTUM 3
SWITCH TO

Quantum Assets Essentials

Topology
DETERMINISTIC

Overview

This sample explains the basic aspects of Quantum assets, which work similarly to Unity's Scriptable Objects, used to provide a data-driven pipeline that users can work with in order to create a database of assets, with read-only data, that should be used primarly in the game simulation code, but also comes with a few possible integrations with the view side of the game.

Find here the manual for Quantum Assets.

For a detailed overview of the sample, watch the following video tutorial which utilizes it.

Project Structure

Find the main assets and scripts for this project in the folder Assets/QuantumEssentials/AssetsBasics.

The folders are organized as follows:

  • Simulation: Contains the definition of the asset classes used to define characters and skills in a illustrative way, and a System that showcases its usage
  • View: basic entity view component that showcases the use of extending a Quantum asset with Unity-specific data to be used uniquely on the view;
  • Scene: Contains the main sample scene;
  • Resources: Contains all prefabs and ScriptableObjects relevant to the sample, i.e the characters and skills scriptables and the entity prototypes;

Testing the sample

To test the sample, press Left Mouse Button to log the characters info on the console and press Right Mouse Button to use character skills, which also logs info on the console and plays a particle effect.

Back to top