Documentation for the Unity C# Library
Loading...
Searching...
No Matches
QuizInteractable.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using PixoVR.Event;
4using UnityEngine;
5
6namespace PixoVR.Event
7{
9 {
10 [SerializeField] private QuizData _quizData;
11 [SerializeField] private AudioClip sfxCorrectAnswer;
12 [SerializeField] private AudioClip sfxWrongAnswer;
14 public override void OpenInspectionMenu(string quizId)
15 {
16 _quizData.GetQuizItem(quizId);
17 }
18 }
19}
s Base class for interactable objects with which the step manager interacts. It also stores a set of ...
Quiz GetQuizItem(string quizID="")
Definition QuizData.cs:16
AudioClip sfxWrongAnswer
[SerializeField]
override void OpenInspectionMenu(string quizId)
Enable inpection menu UI.
AudioClip sfxCorrectAnswer
[SerializeField]
QuizData _quizData
[SerializeField]