/UnityEPL

A Unity framework for easy creation of 2D and 3D psychology experiments

Primary LanguageC#OtherNOASSERTION

UnityEPL 3.0

A library for easy creation of 2D and 3D psychology experiments.

Overview

The experimental designs required to explore and understand neural mechanisms are becoming increasingly complex. There exists a multitude of experimental programming libraries for both 2D and 3D games; however, none provide a simple and effective way to handle high-frequency inputs in real-time (i.e., a closed-loop system). This is because the fastest these games can consistently react is once a frame (usually 30Hz or 60Hz). We introduce UnityEPL 3.0, a framework for creating 2D and 3D experiments that handle high-frequency real-time data. It uses a safe threading paradigm to handle high precision inputs and outputs while still providing all of the power, community assets, and vast documentation of the Unity game engine. UnityEPL 3.0 supports most platforms such as Windows, Mac, Linux, iOS, Android, VR, and Web (with convenient psiTurk integration). Similar to other experimental programming libraries, it also includes common experimental components such as logging, configuration, text display, audio recording, language switching, and an EEG alignment system. UnityEPL 3.0 allows experimenters to quickly and easily create high quality, high throughput, cross-platform games that can handle high-frequency closed-loop systems.

For more information than what is in this document, please see the Documentation Site.

Types of Experiments and Components Available

There are many types of experiments, but here are a few common ones and the useful components for them. There is also a list of generally useful components.

General Components

  • Config
  • Logging
  • ErrorNotifier
  • NetworkInterface
  • InputManager
  • List/Array shuffling (including ones that are consistent per participant)
  • Random values that are consistent per participant

Word List Experiments

  • TextDisplay
  • SoundRecorder
  • VideoPlayer

Spatial (3D) Experiments

  • SpawnItems
  • PickupItems

Closed-Loop Experiments

  • EventLoop
  • ElememInterface

FAQ

See the FAQ.

Authors

Current (UnityEPL 3.0) Authors

James Bruska

UnityEPL 2.0 Authors

James Bruska, Connor Keane, Ryan Colyer

UnityEPL 1.0 Authors

Henry Solberg, Jesse Pazdera