This document is about: QUANTUM 3
SWITCH TO

View Framework Essentials

Topology
DETERMINISTIC

Overview

View Framework Example

This sample highlights the use of Quantum's View Framework, which makes the integration between Quantum simulation and Unity view easy and flexible.

Find here the manual for the View Framework.

Project Structure

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

The folders are organized as follows:

  • View: The main folder for this example, showcasing the core classes and APIs of the View Framework (includes examples of QuantumEntityViewComponent, QuantumSceneViewComponent, IQuantumViewContext, and more);
  • Simulation: Contains a very basic game implementation featuring an entity that moves using a 2D KCC and collects coins. The View Framework reads data from the simulation;
  • Scene: Contains the main sample scene;
  • Resources: Contains all prefabs and ScriptableObjects relevant to the sample.

Testing the sample

To test the sample, simply play the scene contained within the Scene folder, use WASD to move around and Space Bar to jump and collect coins.

Back to top