OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
QuizInteractable.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
PixoVR.Event
;
4
using
UnityEngine;
5
6
namespace
PixoVR.Event
7
{
8
public
class
QuizInteractable
:
InteractableClass
9
{
10
[SerializeField]
private
QuizData
_quizData
;
11
[SerializeField]
private
AudioClip
sfxCorrectAnswer
;
12
[SerializeField]
private
AudioClip
sfxWrongAnswer
;
13
14
public
override
void
OpenInspectionMenu
(
string
quizId)
15
{
16
_quizData
.
GetQuizItem
(quizId);
17
}
18
}
19
}
PixoVR.Event.InteractableClass
s Base class for interactable objects with which the step manager interacts. It also stores a set of ...
Definition
InteractableClass.cs:18
PixoVR.Event.QuizData
Definition
QuizData.cs:13
PixoVR.Event.QuizData.GetQuizItem
Quiz GetQuizItem(string quizID="")
Definition
QuizData.cs:16
PixoVR.Event.QuizInteractable
Definition
QuizInteractable.cs:9
PixoVR.Event.QuizInteractable.sfxWrongAnswer
AudioClip sfxWrongAnswer
[SerializeField]
Definition
QuizInteractable.cs:21
PixoVR.Event.QuizInteractable.OpenInspectionMenu
override void OpenInspectionMenu(string quizId)
Enable inpection menu UI.
Definition
QuizInteractable.cs:23
PixoVR.Event.QuizInteractable.sfxCorrectAnswer
AudioClip sfxCorrectAnswer
[SerializeField]
Definition
QuizInteractable.cs:17
PixoVR.Event.QuizInteractable._quizData
QuizData _quizData
[SerializeField]
Definition
QuizInteractable.cs:13
PixoVR.Event
Definition
ItemIDAttribute.cs:5
com.pixovr.eventunitysdk
Runtime
Sdk
Scripts
QuizScripts
QuizInteractable.cs
Generated
Wed Oct 9 2024 19:24:03
by Doxygen version
1.10.0