Adding a Finishing Call

When a user is done training, you need to make a call to the ExitExperience method which will return the user to the Strivr Player (launcher) application.

Once the training is finished, call:

ExperienceHandler.ExitExperience(0);

This function takes an integer argument where 0 means that the user has successfully completed the training and any other value means the user did not complete the training. In either case, the user will be returned to the Strivr Player application. Making a call to this function will also quit your application.