Documentation for the Unity C# Library
Loading...
Searching...
No Matches
PixoVR.Event.StepManager Class Reference

Main system for working with steps lists. More...

Inheritance diagram for PixoVR.Event.StepManager:
[legend]

Public Member Functions

void CheckAvailability ()
 
Dictionary< ItemsEnum, InteractableClassGetDictionary ()
 
InteractableClass GetGameObjectByID (ItemsEnum itemId)
 Get scene object by item id.
 
void GoToStep (string stepId)
 
void SetActionResultInQuiz (string quizID, bool isActionCorrect)
 
void UpdateDebugUI ()
 

Static Public Attributes

static bool isListen = false
 

Events

Action< string, int > StepInformationUpdated
 

Private Member Functions

void AudioServiceOnOnceTimeAudioStopped (string voID)
 
void Awake ()
 
void ExecuteFunction (IStep step, StepItem stepItem, StepFunction function)
 Runs a function and waits for its execution to complete, then moves on to the next one.
 
void OnEnable ()
 
void OnJoinSessionFailed (FailureResponse failureResponse)
 
void OnJoinSessionSuccess (HttpResponseMessage httpResponseMessage)
 
void PlayVoiceOver (string idVo)
 
void PlayVoiceOverOnceTime (string idVo)
 
IEnumerator PreparingForStart ()
 
void RegisterItems (ItemsEnum item, InteractableClass interactableClass)
 
void RegisterTriggeredItems (ItemsEnum item)
 Save self-registering interactable objects.
 
void Start ()
 
void StartFunction (StepItem stepItem)
 
void StartScenario ()
 
void StartStep_Function (StepItem stepItem)
 
IEnumerator StartStep_FunctionEnumerator (StepItem stepItem)
 

Private Attributes

bool _apexJoinTryRepeated
 
AudioService _audioService
 
BreakdownDebug _breakdownDebug
 [SerializeField]
 
Extension _contextExtension
 
int _currentFunctionID
 [SerializeField]
 
TMP_Text _currentFunctionText
 [SerializeField]
 
string _currentStepID
 [SerializeField]
 
TMP_Text _currentStepText
 [SerializeField]
 
ErrorMessagePopup _errorMessagePopup
 
bool _isLastFunctionInStep
 
QuizData _quizData
 
ScenarioState _scenarioState
 
StepsDataSO _stepsData
 [SerializeField]
 
VoiceOverData _voData
 
readonly Dictionary< ItemsEnum, InteractableClassdictionaryOfItems
 
bool isWaitForUserChoice
 
readonly List< ItemsEnumlistOfTrigeredItems = new List<ItemsEnum>()
 

Static Private Attributes

static int stepId = 0
 

Detailed Description

Main system for working with steps lists.

Definition at line 18 of file StepManager.cs.

Member Function Documentation

◆ AudioServiceOnOnceTimeAudioStopped()

void PixoVR.Event.StepManager.AudioServiceOnOnceTimeAudioStopped ( string voID)
inlineprivate

Definition at line 654 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Awake()

void PixoVR.Event.StepManager.Awake ( )
inlineprivate

Definition at line 72 of file StepManager.cs.

Here is the call graph for this function:

◆ CheckAvailability()

void PixoVR.Event.StepManager.CheckAvailability ( )
inline

Definition at line 700 of file StepManager.cs.

◆ ExecuteFunction()

void PixoVR.Event.StepManager.ExecuteFunction ( IStep step,
StepItem stepItem,
StepFunction function )
inlineprivate

Runs a function and waits for its execution to complete, then moves on to the next one.

Parameters
step
stepItem
function

Definition at line 407 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDictionary()

Dictionary< ItemsEnum, InteractableClass > PixoVR.Event.StepManager.GetDictionary ( )
inline

Definition at line 188 of file StepManager.cs.

Here is the caller graph for this function:

◆ GetGameObjectByID()

InteractableClass PixoVR.Event.StepManager.GetGameObjectByID ( ItemsEnum itemId)
inline

Get scene object by item id.

Parameters
itemId
Returns

Definition at line 178 of file StepManager.cs.

Here is the caller graph for this function:

◆ GoToStep()

void PixoVR.Event.StepManager.GoToStep ( string stepId)
inline

Definition at line 183 of file StepManager.cs.

Here is the caller graph for this function:

◆ OnEnable()

void PixoVR.Event.StepManager.OnEnable ( )
inlineprivate

Definition at line 148 of file StepManager.cs.

◆ OnJoinSessionFailed()

void PixoVR.Event.StepManager.OnJoinSessionFailed ( FailureResponse failureResponse)
inlineprivate

Definition at line 126 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnJoinSessionSuccess()

void PixoVR.Event.StepManager.OnJoinSessionSuccess ( HttpResponseMessage httpResponseMessage)
inlineprivate

Definition at line 141 of file StepManager.cs.

Here is the caller graph for this function:

◆ PlayVoiceOver()

void PixoVR.Event.StepManager.PlayVoiceOver ( string idVo)
inlineprivate

Definition at line 596 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PlayVoiceOverOnceTime()

void PixoVR.Event.StepManager.PlayVoiceOverOnceTime ( string idVo)
inlineprivate

Definition at line 621 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PreparingForStart()

IEnumerator PixoVR.Event.StepManager.PreparingForStart ( )
inlineprivate

Definition at line 163 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterItems()

void PixoVR.Event.StepManager.RegisterItems ( ItemsEnum item,
InteractableClass interactableClass )
inlineprivate

Definition at line 481 of file StepManager.cs.

Here is the caller graph for this function:

◆ RegisterTriggeredItems()

void PixoVR.Event.StepManager.RegisterTriggeredItems ( ItemsEnum item)
inlineprivate

Save self-registering interactable objects.

Parameters
item

Definition at line 492 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetActionResultInQuiz()

void PixoVR.Event.StepManager.SetActionResultInQuiz ( string quizID,
bool isActionCorrect )
inline

Definition at line 667 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Start()

void PixoVR.Event.StepManager.Start ( )
inlineprivate

Definition at line 158 of file StepManager.cs.

Here is the call graph for this function:

◆ StartFunction()

void PixoVR.Event.StepManager.StartFunction ( StepItem stepItem)
inlineprivate

Definition at line 224 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartScenario()

void PixoVR.Event.StepManager.StartScenario ( )
inlineprivate

Definition at line 193 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartStep_Function()

void PixoVR.Event.StepManager.StartStep_Function ( StepItem stepItem)
inlineprivate

Definition at line 198 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartStep_FunctionEnumerator()

IEnumerator PixoVR.Event.StepManager.StartStep_FunctionEnumerator ( StepItem stepItem)
inlineprivate

Definition at line 203 of file StepManager.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateDebugUI()

void PixoVR.Event.StepManager.UpdateDebugUI ( )
inline

Definition at line 692 of file StepManager.cs.

Here is the caller graph for this function:

Member Data Documentation

◆ _apexJoinTryRepeated

bool PixoVR.Event.StepManager._apexJoinTryRepeated
private

Definition at line 70 of file StepManager.cs.

◆ _audioService

AudioService PixoVR.Event.StepManager._audioService
private

Definition at line 59 of file StepManager.cs.

◆ _breakdownDebug

BreakdownDebug PixoVR.Event.StepManager._breakdownDebug
privateSerializeField

[SerializeField]

Definition at line 48 of file StepManager.cs.

◆ _contextExtension

Extension PixoVR.Event.StepManager._contextExtension
private

Definition at line 68 of file StepManager.cs.

◆ _currentFunctionID

int PixoVR.Event.StepManager._currentFunctionID
privateSerializeField

[SerializeField]

Definition at line 32 of file StepManager.cs.

◆ _currentFunctionText

TMP_Text PixoVR.Event.StepManager._currentFunctionText
privateSerializeField

[SerializeField]

Definition at line 44 of file StepManager.cs.

◆ _currentStepID

string PixoVR.Event.StepManager._currentStepID
privateSerializeField

[SerializeField]

Definition at line 28 of file StepManager.cs.

◆ _currentStepText

TMP_Text PixoVR.Event.StepManager._currentStepText
privateSerializeField

[SerializeField]

Definition at line 40 of file StepManager.cs.

◆ _errorMessagePopup

ErrorMessagePopup PixoVR.Event.StepManager._errorMessagePopup
private

Definition at line 66 of file StepManager.cs.

◆ _isLastFunctionInStep

bool PixoVR.Event.StepManager._isLastFunctionInStep
private

Definition at line 51 of file StepManager.cs.

◆ _quizData

QuizData PixoVR.Event.StepManager._quizData
private

Definition at line 49 of file StepManager.cs.

◆ _scenarioState

ScenarioState PixoVR.Event.StepManager._scenarioState
private

Definition at line 67 of file StepManager.cs.

◆ _stepsData

StepsDataSO PixoVR.Event.StepManager._stepsData
privateSerializeField

[SerializeField]

Definition at line 24 of file StepManager.cs.

◆ _voData

VoiceOverData PixoVR.Event.StepManager._voData
private

Definition at line 61 of file StepManager.cs.

◆ dictionaryOfItems

readonly Dictionary<ItemsEnum, InteractableClass> PixoVR.Event.StepManager.dictionaryOfItems
private
Initial value:
=
new Dictionary<ItemsEnum, InteractableClass>()

Definition at line 54 of file StepManager.cs.

◆ isListen

bool PixoVR.Event.StepManager.isListen = false
static

Definition at line 20 of file StepManager.cs.

◆ isWaitForUserChoice

bool PixoVR.Event.StepManager.isWaitForUserChoice
private

Definition at line 52 of file StepManager.cs.

◆ listOfTrigeredItems

readonly List<ItemsEnum> PixoVR.Event.StepManager.listOfTrigeredItems = new List<ItemsEnum>()
private

Definition at line 57 of file StepManager.cs.

◆ stepId

int PixoVR.Event.StepManager.stepId = 0
staticprivate

Definition at line 64 of file StepManager.cs.

Event Documentation

◆ StepInformationUpdated

Action<string, int> PixoVR.Event.StepManager.StepInformationUpdated

Definition at line 62 of file StepManager.cs.


The documentation for this class was generated from the following file: