The dot-probe task is widely used in cognitive psychology, educational, and clinical psychology to evaluate the speed of responses to emotional or threatening stimuli versus neutral ones. It can be used with words or images. The task is accessible through the Unity Editor, requiring no coding to create and run a custom questionnaire in a scene. The package supports VR devices via SteamVR and includes two predefined prefabs and three example scenes. All source code is extensively documented.
The package features automatic dot probe task generation, participant and condition IDs, data logging, customizable visual stimuli, score calculation, error feedback, task timing, and SteamVR integration. It also includes a welcome screen, task screen, and result screen, and executes a series of dot probe tasks with logged participant responses, reaction times, and error statuses.
Usage: Configuration: Use one of the two Dot-Probe-Task prefabs or drag one of both DotProbeTask scripts on a canvas with at least two text fields or images. Provide your words or images and set participant and condition IDs as well as your time settings and your preferred keyboard buttons in the Unity Editor. Optionally customize display settings, signal shapes, colors, and error feedback sprites as required. Logging: Enter the desired path for the data log file or use the default path. Task Screen: The task starts with a welcome screen detailing the usage for participants, followed by the actual task, finished by a result screen. Execution: The module executes a series of dot probe tasks. Participant responses are logged along with reaction times and error statuses.
Two predefined Prefabs and three Example Scenes with example quizzes are included: left-right-textual task, up-bottom-textual-task, image-task. Load a scene and hit play to start the task. All source code is extensively documented.