October 2017
Intermediate to advanced
548 pages
13h 23m
English
We'll get started by creating a new C# script named InstructionStep, which will basically be a data structure or container for a row of data from our spreadsheet (in CSV format), including fields the for title, body text, image, and video.
When Unity creates a new script it uses a default template for a typical object class derived from MonoBehaviour. We want this to be just a simple object and do not want it to be a MonoBehaviour (and do not need the Start/Update functions).
File: InstructionStep.cs using System.Collections; using System.Collections.Generic; using UnityEngine; ...
Read now
Unlock full access