-
-
Notifications
You must be signed in to change notification settings - Fork 2
Quiz Utility
eisclimber edited this page Jan 18, 2024
·
2 revisions
class in ExPresSXR.Interaction.ButtonQuiz
Helper class for the button quiz.
-
int[] GenerateIdentityArray(int length)
: Generates an array with size equallength
where every element holds its index, i.e. [0, 1, 2, ..., length] -
int[] Shuffle(int[] array)
: Shuffles and array using a Fisher-Yates-Shuffle. -
int GetNumAnswersForQuestion(ButtonQuizConfig config, ButtonQuizQuestion question)
: Returns the number of answers for a question. -
int[] GetAnswerPermutation(ButtonQuizConfig config, ButtonQuizQuestion question)
: Get a permuation of the valid answers of a question. Indices of unused answer indices will be set to -1. -
string MakeStreamingAssetsVideoPath(string filePath)
: Converts a relative path to a StreamingAssets-Path whilst ensuring the path refers to an.mp4
or.mov
video file.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI