October 2017
Intermediate to advanced
548 pages
13h 23m
English
The InstructionModel contains a list of instructions. We defined the InstructionStep class previously, and now we define the InstructionModel class with our list of instructions. The app will then grab instructions one at a time from the model as the user steps through the instructions. At first, we'll just hardcode some example data. Soon, we'll load the data from the external CSV file instead.
Create the script now:
Like InstructionSteps, the InstructionModel does not inherit from MonoBehaviour. For now, its only property is a list of steps:
using System.Collections; using System.Collections.Generic; ...
Read now
Unlock full access