Deprecated Behavior

The following events, methods and data structures are deprecated from the Unity API. See the Changelog for more details.

Subscribe

Event (LOLSDK.Instance.__)

Payload Sent to Subscribers (LoLSDK.)

Description

Last Supported Version

GameStateChanged (deprecated)

GameState

Pause or resume

V1

QuestionsReceived

MultipleChoiceQuestionList

Receive Questions

V3

Publish

Method (LOLSDK.Instance)

Purpose

Last Supported Version

PlaySound (deprecated)

Audio

Play a sound. Control of sounds outside Unity is required because WebGL sound is currently unsupported on iPad.

V2

ConfigureSound (deprecated)

Audio

Configure sound (passthrough to browser api)

V2

StopSound (deprecated)

Audio

Stop a sound in progress

V2

SubmitAnswer

Reporting Questions

Game submits student's selected answer

V3

SpeakQuestion

Speech

Speaks a single question

V3

SpeakAnswer

Speech

Speaks a single answer

V3

SpeakQuestionAndAnswers

Speech

Speaks a question followed by all answers

V3

Data Structures (Classes)

Class

Description

Last Supported Version

MultipleChoiceQuestionList

List of multiple choice questions

V3

MultipleChoiceQuestion

A question

V3

MultipleChoiceAnswer

An student's answer to one question

V3

Alternative

A possible answer

V3

Last updated