Class RunStep | Platforms | 0.2.2-preview.10
docs.unity.cn
    Show / Hide Table of Contents

    Class RunStep

    Inheritance
    Object
    RunStep
    Namespace: Unity.Build
    Syntax
    public abstract class RunStep

    Properties

    Category

    Category name of this RunStep displayed in the searcher menu.

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

    IsShown

    Determine if this RunStep should be displayed in the inspector and searcher menu.

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

    Name

    The name of this RunStep.

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

    Methods

    CanRun(BuildConfiguration, out String)

    Declaration
    public virtual bool CanRun(BuildConfiguration config, out string reason)
    Parameters
    Type Name Description
    BuildConfiguration config
    String reason
    Returns
    Type Description
    Boolean

    Failure(BuildConfiguration, String)

    Declaration
    public RunStepResult Failure(BuildConfiguration config, string message)
    Parameters
    Type Name Description
    BuildConfiguration config
    String message
    Returns
    Type Description
    RunStepResult

    GetCategory(Type)

    Get the category name displayed in the searcher menu of a RunStep type.

    Declaration
    public static string GetCategory(Type type)
    Parameters
    Type Name Description
    Type type

    The RunStep type.

    Returns
    Type Description
    String

    The RunStep's category name.

    GetCategory<T>()

    Get the category name displayed in the searcher menu of a RunStep type.

    Declaration
    public static string GetCategory<T>()
        where T : RunStep
    Returns
    Type Description
    String

    The RunStep's category name.

    Type Parameters
    Name Description
    T

    The RunStep type.

    GetIsShown(Type)

    Determine if a RunStep type should be displayed in the inspector and searcher menu.

    Declaration
    public static bool GetIsShown(Type type)
    Parameters
    Type Name Description
    Type type

    The RunStep type.

    Returns
    Type Description
    Boolean

    true if the RunStep is shown, false otherwise.

    GetIsShown<T>()

    Determine if a RunStep type should be displayed in the inspector and searcher menu.

    Declaration
    public static bool GetIsShown<T>()
        where T : RunStep
    Returns
    Type Description
    Boolean

    true if the RunStep is shown, false otherwise.

    Type Parameters
    Name Description
    T

    The RunStep type.

    GetName(Type)

    Get the name of a RunStep type.

    Declaration
    public static string GetName(Type type)
    Parameters
    Type Name Description
    Type type

    The RunStep type.

    Returns
    Type Description
    String

    The RunStep's name.

    GetName<T>()

    Get the name of a RunStep type.

    Declaration
    public static string GetName<T>()
        where T : RunStep
    Returns
    Type Description
    String

    The RunStep's name.

    Type Parameters
    Name Description
    T

    The RunStep type.

    Start(BuildConfiguration)

    Declaration
    public abstract RunStepResult Start(BuildConfiguration config)
    Parameters
    Type Name Description
    BuildConfiguration config
    Returns
    Type Description
    RunStepResult

    Success(BuildConfiguration, IRunInstance)

    Declaration
    public RunStepResult Success(BuildConfiguration config, IRunInstance instance)
    Parameters
    Type Name Description
    BuildConfiguration config
    IRunInstance instance
    Returns
    Type Description
    RunStepResult
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX