Table of Contents

Class TrainingCatalog

Namespace
Others

All trainings in the build (Resources/TrainARTrainings.asset), kept up to date by the editor tools. The home screen lists them.

public class TrainingCatalog : ScriptableObject
Inheritance
object
TrainingCatalog

Fields

showFooter

Whether the home screen shows the TrainAR footer (links, creator, funding, contact) below the trainings.

public bool showFooter

Field Value

bool

trainings

The trainings in the order of the home screen.

public List<TrainingInfo> trainings

Field Value

List<TrainingInfo>

Properties

Instance

The catalog of this build.

public static TrainingCatalog Instance { get; }

Property Value

TrainingCatalog

Methods

ForScene(string)

The training whose scene has the given name, or null.

public TrainingInfo ForScene(string sceneName)

Parameters

sceneName string

Returns

TrainingInfo