Documentation for the Unity C# Library
Loading...
Searching...
No Matches
PrepareInspectionReport.cs
Go to the documentation of this file.
1using System;
2using System.Collections;
3using System.Collections.Generic;
4using UnityEngine;
5
6namespace PixoVR.Event
7{
9 {
10 public event Action OnFunctionFinished;
11
12 public void StartStep(StepItem stepItem, StepFunction function, List<InteractableClass> interactables = null, Action onStepSkipped = null)
13 {
14 interactables?[0].PrepareInspectionReport(interactables);
16 }
17
18 public void FunctionFinished()
19 {
20 OnFunctionFinished?.Invoke();
21 }
22 }
23}
void FunctionFinished()
Called to end current step and start a next one.
void StartStep(StepItem stepItem, StepFunction function, List< InteractableClass > interactables=null, Action onStepSkipped=null)
[Serializable]
Definition StepItem.cs:12
Basic interface of functions. (Please note that iStep is a wrong name)
Definition IStep.cs:10