Skip to content
miniscruff edited this page Jan 11, 2015 · 3 revisions

Quick Start Guide

Follow the steps below to get Unity-SCORM up and running in no time at all. By following these steps, your Unity content will be SCORM-conformant and will inform the LMS that your course is complete. This tutorial assumes you have basic Unity authoring skills. This guide details a simple use case for SCORM-conformant Unity content. After completing this guide, you can begin using additional SCORM features to track objectives and interactions through the ScormManager interfaces.

  1. Download the ScormIntegrationKit.unitypackage from ADLnet.gov
  2. Import the package into your Unity project by selecting Assets->Import Asset Package->Custom Package. Choose the file you downloaded from ADLnet.gov in step 1. Select all the files and click Import.
  3. You will see a new menu item called SCORM. If you do not, click on the main menu bar near File to force it to refresh. From the SCORM menu, choose Create SCORM Manager.
  4. Decide the condition under which you wish to mark your course as complete. Add code to your scripts that executes when this condition is met. Use this code:
    ScormManager.SetCompletionStatus(completionStatusType.complete);
    ScormManager.SetSatisfaction(successStatusType.sucess);
    ScormManager.Commit();
  1. Locate your simulation’s shutdown or exit procedure. Add logic to call this when you receive the message Scorm_Commit_Complete. Make sure that the logic that controls this is attached to a child gameobject of the ScormManager so that it will receive the message. Call ScormManager.Terminate() as the last function in the shutdown procedure.
  2. In your game startup logic, make sure the simulation does not begin or pauses until you receive the Scorm_Initialize_Complete message. Make sure the logic that controls this is attached to a child gameobject of the ScormManager so that it will receive the message.
  3. Choose File->Build Settings from the main menu. In the dialog that appears, look under Platform and choose Web Player. Click the button called Player Settings.
  4. In the inspector, choose the WebPlayer Template called SCORM.
  5. In the Build Settings dialog, choose Build. Pick a location and export the WebPlayer.
  6. Close the Build Settings dialog.
  7. Choose SCORM->Export SCORM Package from the main menu. Read the warning, then click ok.
  8. In the ScormPackager dialog, click the button titled Player Location on the top right. Choose the directory where you published the WebPlayer in step 9. Note: this directory should contain the WebPlayer folder.
  9. Give your course and your scene a title in the text boxes on the dialog. (Note: Select the SCORM version supported by your LMS. For additional information see ADLnet.gov)
  10. Click Publish at the bottom. Choose a filename and a location.
  11. Upload this course to your LMS. This step differs based on the LMS you are using (See the SCORM ‘Resources’ Tab for a list of certified products and SCORM Adopters). When you launch it, you will see your Unity simulation. Play through and satisfy your success criteria. Exit your simulation – you should see the LMS mark the course as passed.
Clone this wiki locally