- Home /
Unity Scorm WebGl integration ?
Hello everybody,
I can not do scorm connection with Unity. I need to translate the existing scorm.js files into .jslib. But I did not get it. I always get the error on lms.
According to the information I received from this address https://docs.unity3d.com/manual/webgl-interactingwithbrowserscripting.html
I tried but the result is negative. because they are on scorm.js
var debug = false; // set this to false to turn debugging off.
var output = window.console; // output can be set to any object that has a log(string) function
// such as: var output = { log: function(str){alert(str);} };
// Define exception/error codes
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"};
// Initialized state of the content; default false
var initialized = false;
// Handle to the SCORM API instance
var apiHandle = null;
// Global for SCORM version; Default 2004 and set during initialize
var versionIsSCORM2004 = true;
[link text][1]
I made the demo here. [1]: /storage/temp/113930-demounitypackage.zip
Unity never thought of people working in the field of education.
About Webgl Scorm integration. There is no documentation about this.
unity in 2012 and working on the webplayer.
Please unity team to fix this !!!
Your answer
Follow this Question
Related Questions
Problems with webgl 1 Answer
Why do PlayerPrefs become empty when uploading a new WebGL game version to Facebook 0 Answers
export to WebGL failed 6 Answers