docs.unity.cn
    Show / Hide Table of Contents

    Interface IFeatureButton

    Interface IFeatureButton

    Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
    Syntax
    public interface IFeatureButton

    Properties

    Icon

    Gets the icon.

    Declaration
    Texture2D Icon { get; }
    Property Value
    Type Description
    Texture2D

    The icon.

    Label

    Gets the label.

    Declaration
    string Label { get; }
    Property Value
    Type Description
    String

    The label.

    Methods

    SetAvailability(FeatureAvailability)

    Sets the availability.

    Declaration
    void SetAvailability(FeatureAvailability featureAvailability)
    Parameters
    Type Name Description
    FeatureAvailability featureAvailability

    The feature availability.

    SetDisplayInfo(DisplayInfoContent)

    Sets the display information.

    Declaration
    void SetDisplayInfo(DisplayInfoContent info)
    Parameters
    Type Name Description
    DisplayInfoContent info

    The information.

    SetIcon(Texture2D)

    Sets the icon.

    Declaration
    void SetIcon(Texture2D icon)
    Parameters
    Type Name Description
    Texture2D icon

    The icon.

    SetLabel(String)

    Sets the label.

    Declaration
    void SetLabel(string label)
    Parameters
    Type Name Description
    String label

    The label.

    SetSelected(Boolean)

    Sets the selected.

    Declaration
    void SetSelected(bool on)
    Parameters
    Type Name Description
    Boolean on

    if set to true [on].

    Events

    clicked

    Occurs when [clicked].

    Declaration
    event Action<bool> clicked
    Event Type
    Type Description
    Action<Boolean>

    selected

    Occurs when [selected].

    Declaration
    event Action selected
    Event Type
    Type Description
    Action
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021