docs.unity3d.com
    Show / Hide Table of Contents

    Class Splashscreen

    Class Splashscreen.

    Inheritance
    Object
    Splashscreen
    Namespace: Unity.Industrial.Forma.Staging
    Syntax
    public class Splashscreen : MonoBehaviour

    Properties

    canvasGroup

    Gets or sets the canvas group.

    Declaration
    public CanvasGroup canvasGroup { get; set; }
    Property Value
    Type Description
    CanvasGroup

    The canvas group.

    progressBar

    Gets or sets the progress bar.

    Declaration
    public Slider progressBar { get; set; }
    Property Value
    Type Description
    Slider

    The progress bar.

    progressText

    Gets or sets the progress text.

    Declaration
    public TextMeshProUGUI progressText { get; set; }
    Property Value
    Type Description
    TextMeshProUGUI

    The progress text.

    splashscreenBackground

    Gets or sets the splashscreen background.

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

    The splashscreen background.

    splashscreenCanvasGroup

    Gets or sets the splashscreen canvas group.

    Declaration
    public CanvasGroup splashscreenCanvasGroup { get; set; }
    Property Value
    Type Description
    CanvasGroup

    The splashscreen canvas group.

    splashscreenImage

    Gets or sets the splashscreen image.

    Declaration
    public Sprite splashscreenImage { get; set; }
    Property Value
    Type Description
    Sprite

    The splashscreen image.

    splashscreenTitle

    Gets or sets the splashscreen title.

    Declaration
    public TextMeshProUGUI splashscreenTitle { get; set; }
    Property Value
    Type Description
    TextMeshProUGUI

    The splashscreen title.

    transitionImage

    Gets or sets the transition image.

    Declaration
    public Sprite transitionImage { get; set; }
    Property Value
    Type Description
    Sprite

    The transition image.

    Methods

    SetProgress(Single)

    Update the progress displayed by the progress bar.

    Declaration
    public void SetProgress(float progress)
    Parameters
    Type Name Description
    Single progress

    Updated progress

    SetProgressText(String)

    Update the progress text displayed.

    Declaration
    public void SetProgressText(string text)
    Parameters
    Type Name Description
    String text

    Updated text

    Back to top
    Terms of use
    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