Class Tutorial
Syntax
public class Tutorial : ScriptableObject
Constructors
Tutorial()
Declaration
Properties
assetSelectedOnExit
Declaration
public UnityEngine.Object assetSelectedOnExit { get; }
Property Value
Type |
Description |
UnityEngine.Object |
|
completed
Declaration
public bool completed { get; }
Property Value
completedPage
Declaration
public TutorialWelcomePage completedPage { get; }
Property Value
currentPage
Declaration
public TutorialPage currentPage { get; }
Property Value
currentPageIndex
Declaration
public int currentPageIndex { get; }
Property Value
exitBehavior
Declaration
public Tutorial.ExitBehavior exitBehavior { get; }
Property Value
isAutoCompleting
Declaration
public bool isAutoCompleting { get; }
Property Value
lessonId
Declaration
public string lessonId { get; }
Property Value
pageCount
Declaration
public int pageCount { get; }
Property Value
pages
Declaration
public IEnumerable<TutorialPage> pages { get; }
Property Value
skipped
Declaration
public bool skipped { get; }
Property Value
skipTutorialBehavior
Declaration
public Tutorial.SkipTutorialBehavior skipTutorialBehavior { get; }
Property Value
tutorialTitle
Declaration
public string tutorialTitle { get; }
Property Value
version
Declaration
public string version { get; }
Property Value
welcomePage
Declaration
public TutorialWelcomePage welcomePage { get; }
Property Value
Methods
GoToPreviousPage()
Declaration
public void GoToPreviousPage()
OnGoingBack(TutorialPage)
Declaration
protected virtual void OnGoingBack(TutorialPage page)
Parameters
OnPageInitiated(TutorialPage, Int32)
Declaration
protected virtual void OnPageInitiated(TutorialPage page, int index)
Parameters
OnTutorialCompleted(Boolean)
Declaration
protected virtual void OnTutorialCompleted(bool exitTutorial)
Parameters
Type |
Name |
Description |
Boolean |
exitTutorial |
|
OnTutorialInitiated()
Declaration
protected virtual void OnTutorialInitiated()
RaiseTutorialPagesModified()
Declaration
public void RaiseTutorialPagesModified()
SkipToLastPage()
Declaration
public void SkipToLastPage()
StartAutoCompletion()
Declaration
public void StartAutoCompletion()
StopAutoCompletion()
Declaration
public void StopAutoCompletion()
StopTutorial()
Declaration
public void StopTutorial()
TryGoToNextPage()
Declaration
public bool TryGoToNextPage()
Returns
Events
goingBack
Declaration
public event Action<TutorialPage> goingBack
Event Type
pageInitiated
Declaration
public event Action<TutorialPage, int> pageInitiated
Event Type
tutorialCompleted
Declaration
public event Action<bool> tutorialCompleted
Event Type
tutorialInitiated
Declaration
public event Action tutorialInitiated
Event Type
tutorialPagesModified
Declaration
public static event Action<Tutorial> tutorialPagesModified
Event Type