docs.unity3d.com
    Show / Hide Table of Contents

    Class TutorialParagraph

    A section of the TutorialPage.

    Inheritance
    Object
    TutorialParagraph
    Namespace: Unity.Tutorials.Core.Editor
    Syntax
    public class TutorialParagraph : ISerializationCallbackReceiver

    Fields

    Text

    Text/description for Narrative/Instruction or button text for SwitchTutorial.

    Declaration
    public LocalizableString Text
    Field Value
    Type Description
    LocalizableString

    Title

    Title for Narrative/Instruction, not applicable for SwitchTutorial currently.

    Declaration
    public LocalizableString Title
    Field Value
    Type Description
    LocalizableString

    Properties

    Completed

    Is this paragraph completed? Applicable if this paragraph's type is Instruction.

    Declaration
    public bool Completed { get; }
    Property Value
    Type Description
    Boolean

    Criteria

    The completion criteria if this paragraph's type is Instruction.

    Declaration
    public IEnumerable<TypedCriterion> Criteria { get; }
    Property Value
    Type Description
    IEnumerable<TypedCriterion>

    Image

    The image if this paragraph's type is Image.

    Declaration
    public Texture2D Image { get; set; }
    Property Value
    Type Description
    Texture2D

    Type

    Type of this paragraph.

    Declaration
    public ParagraphType Type { get; }
    Property Value
    Type Description
    ParagraphType

    Video

    The video clip if this paragraph's type is Video.

    Declaration
    public VideoClip Video { get; set; }
    Property Value
    Type Description
    VideoClip

    Methods

    OnAfterDeserialize()

    UnityEngine.ISerializationCallbackReceiver override, do not call.

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    UnityEngine.ISerializationCallbackReceiver override, do not call.

    Declaration
    public void OnBeforeSerialize()
    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