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
-
objectTrainingCatalog
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
Methods
ForScene(string)
The training whose scene has the given name, or null.
public TrainingInfo ForScene(string sceneName)
Parameters
sceneNamestring