Class Walkthrough | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class Walkthrough

    Defines a walkthrough - a series of steps gated by triggers

    Inheritance
    Object
    Walkthrough
    Namespace: Unity.MARS.Templates
    Syntax
    public class Walkthrough : MonoBehaviour

    Fields

    WalkthroughChangedCallback

    Event that is raised whenever the state of the walkthrough has changed.

    Declaration
    public Action WalkthroughChangedCallback
    Field Value
    Type Description
    Action

    Properties

    CurrentStep

    The currently active step of the walkthrough

    Declaration
    public int CurrentStep { get; }
    Property Value
    Type Description
    Int32

    steps

    All of the steps this walkthrough requires, in order

    Declaration
    public WalkthroughStep[] steps { get; }
    Property Value
    Type Description
    WalkthroughStep[]

    WalkthroughName

    The name of the walkthrough experience

    Declaration
    public string WalkthroughName { get; }
    Property Value
    Type Description
    String

    Methods

    SkipToStep(Int32, Boolean)

    Shifts to another step of the walkthrough

    Declaration
    public void SkipToStep(int stepIndex, bool autoProgressIfComplete = false)
    Parameters
    Type Name Description
    Int32 stepIndex

    The step to make active

    Boolean autoProgressIfComplete

    If true, allows for skipping to the subsequent step if the current one is already complete.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023