Unity-SCORM Integration Kit
1.0
Integrate Unity3d Projects with your LMS via SCORM
|
Functions | |
function | doInitialize () |
function | doTerminate () |
function | doGetValue (identifier, objectname, callbackname, randomnumber) |
function | doSetValue (identifier, value, objectname, callbackname, randomnumber) |
function | doIsScorm2004 (objectname, callbackname, randomnumber) |
function | doCommit () |
function | doGetLastError () |
function | doGetErrorString (errorCode) |
function | doGetDiagnostic (errorCode) |
function | ErrorHandler () |
function | getAPIHandle () |
function | findAPI (win) |
function | getAPI () |
function | message (str) |
function | DebugPrint (str) |
function | pausecomp (millis) |
Variables | |
var | debug = false |
Rob Chadwick - 6/1/12 - default to false. More... | |
var | output = window.console |
var | _NoError = {"code":"0","string":"No Error","diagnostic":"No Error"} |
var | _GeneralException = {"code":"101","string":"General Exception","diagnostic":"General Exception"} |
var | _AlreadyInitialized = {"code":"103","string":"Already Initialized","diagnostic":"Already Initialized"} |
var | initialized = false |
var | apiHandle = null |
var | versionIsSCORM2004 = true |
var | scorm |
function DebugPrint | ( | str | ) |
function doCommit | ( | ) |
function doGetDiagnostic | ( | errorCode | ) |
function doGetErrorString | ( | errorCode | ) |
function doGetLastError | ( | ) |
function doGetValue | ( | identifier, | |
objectname, | |||
callbackname, | |||
randomnumber | |||
) |
Rob Chadwick - 6/1/12 - fixed bug where result.tostring failed where the LMS returns null This should never happed, but it does in some broken LMS's
function doInitialize | ( | ) |
function doIsScorm2004 | ( | objectname, | |
callbackname, | |||
randomnumber | |||
) |
function doSetValue | ( | identifier, | |
value, | |||
objectname, | |||
callbackname, | |||
randomnumber | |||
) |
function doTerminate | ( | ) |
function ErrorHandler | ( | ) |
function findAPI | ( | win | ) |
function getAPI | ( | ) |
function getAPIHandle | ( | ) |
function message | ( | str | ) |
Rob Chadwick - 6/1/12 - Fixed bug where console.log is sometimes not available happens in IE 8 and 9
function pausecomp | ( | millis | ) |
var _AlreadyInitialized = {"code":"103","string":"Already Initialized","diagnostic":"Already Initialized"} |
var _GeneralException = {"code":"101","string":"General Exception","diagnostic":"General Exception"} |
var _NoError = {"code":"0","string":"No Error","diagnostic":"No Error"} |
var apiHandle = null |
var debug = false |
Rob Chadwick - 6/1/12 - default to false.
var initialized = false |
var output = window.console |
var scorm |
var versionIsSCORM2004 = true |