Functions Description
tutorial.start(int tutorial_id, bool continue where left?) Starts the tutorial of specific ID. Optionally, you can tell whether you want to continue from the last played frame or not
tutorial.Stop() Stops the current tutorial. Command will be ignored if no active tutorial found
frame.Next() Goes to the next frame of the tutorial. Command will be ignored if no active tutorial found
frame.Prev() Goes to the previous frame of the tutorial. Command will be ignored if no active tutorial found
frame.GoTo(int frame_id) Goes to the frame of specified ID of the tutorial. Command will be ignored if no active tutorial found
data.Reset() Deletes PlayerPrefs related to the tutorial
Variables Description
data.tutorialsCompleted Returns an integer of number of tutorials that has been completed
data.tutorialsInProgress Returns an integer of number of tutorials that are in progress
tutorial.frameId Returns the ID of currently played frame
tutorial.id Returns the ID of the currently active tutorial
tutorial.progress Returns a float, representing the progress of the current tutorial between 0 and 1. (1 means completed)


  • tutorial-master/1.0/api-documentation.txt
  • Last modified: 2018/06/21 09:52
  • by admin