-
Notifications
You must be signed in to change notification settings - Fork 17
Quickstart
miniscruff edited this page Jan 11, 2015
·
3 revisions
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.
- Download the ScormIntegrationKit.unitypackage from ADLnet.gov
- 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. - 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.
- 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();
- 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 theScormManager
so that it will receive the message. CallScormManager.Terminate()
as the last function in the shutdown procedure. - 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 theScormManager
so that it will receive the message. - 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.
- In the inspector, choose the WebPlayer Template called SCORM.
- In the Build Settings dialog, choose Build. Pick a location and export the WebPlayer.
- Close the Build Settings dialog.
- Choose SCORM->Export SCORM Package from the main menu. Read the warning, then click ok.
- 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.
- 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)
- Click Publish at the bottom. Choose a filename and a location.
- 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.