Search Results for

    Class SLabelOptions

    Inheritance
    object
    SUiElement
    SUiElement<SLabelOptions>
    SUiElement<SLabelOptions, string>
    SLabelOptions
    Inherited Members
    SUiElement<SLabelOptions, string>.Observable
    SUiElement<SLabelOptions, string>.Bind(Observable<string>)
    SUiElement<SLabelOptions, string>.Unbind()
    SUiElement<SLabelOptions, string>.RegisterObservable(Observable<string>)
    SUiElement<SLabelOptions, string>.UnregisterObservable(Observable<string>)
    SUiElement<SLabelOptions, string>.OnObservaleChanged(string)
    SUiElement<SLabelOptions>.TextObject
    SUiElement<SLabelOptions>.VisibilityObservable
    SUiElement<SLabelOptions>.VisibilityObservalbleChanged(bool)
    SUiElement<SLabelOptions>.BindVisibility(Observable<bool>)
    SUiElement<SLabelOptions>.UnbindVisibility()
    SUiElement<SLabelOptions>.Name(string)
    SUiElement<SLabelOptions>.Id(string)
    SUiElement<SLabelOptions>.Class(string)
    SUiElement<SLabelOptions>.Text(string)
    SUiElement<SLabelOptions>.RichText(string)
    SUiElement<SLabelOptions>.FontSize(int)
    SUiElement<SLabelOptions>.FontAutoSize(bool)
    SUiElement<SLabelOptions>.FontColor(Color)
    SUiElement<SLabelOptions>.FontColor(string)
    SUiElement<SLabelOptions>.Find<TObj>(string)
    SUiElement<SLabelOptions>.MinOffset(int?, int?)
    SUiElement<SLabelOptions>.MaxOffset(int?, int?)
    SUiElement<SLabelOptions>.Size(float?, float?)
    SUiElement<SLabelOptions>.Size(Vector2)
    SUiElement<SLabelOptions>.Position(float?, float?)
    SUiElement<SLabelOptions>.Width(float)
    SUiElement<SLabelOptions>.Height(float)
    SUiElement<SLabelOptions>.PHeight(float)
    SUiElement<SLabelOptions>.PWidth(float)
    SUiElement<SLabelOptions>.MHeight(float)
    SUiElement<SLabelOptions>.MWidth(float)
    SUiElement<SLabelOptions>.FlexHeight(float)
    SUiElement<SLabelOptions>.FlexWidth(float)
    SUiElement<SLabelOptions>.RectPadding(float, float, float, float)
    SUiElement<SLabelOptions>.RectPadding(float, float)
    SUiElement<SLabelOptions>.RectPadding(float)
    SUiElement<SLabelOptions>.HFill()
    SUiElement<SLabelOptions>.VFill()
    SUiElement<SLabelOptions>.VOffset(float, float)
    SUiElement<SLabelOptions>.HOffset(float, float)
    SUiElement<SLabelOptions>.Pivot(float?, float?)
    SUiElement<SLabelOptions>.AspectRatio(AspectRatioFitter.AspectMode)
    SUiElement<SLabelOptions>.Anchor(AnchorType)
    SUiElement<SLabelOptions>.Dock(EDockType)
    SUiElement<SLabelOptions>.Ppu(float)
    SUiElement<SLabelOptions>.Visible(bool)
    SUiElement<SLabelOptions>.Active(bool)
    SUiElement<SLabelOptions>.Toggle()
    SUiElement<SLabelOptions>.OnClick(Action)
    SUiElement<SLabelOptions>.Add(SUiElement)
    SUiElement<SLabelOptions>.this[string]
    SUiElement.RectTransform
    SUiElement.Root
    SUiElement.Parent
    SUiElement._id
    SUiElement._classes
    SUiElement.SetParent(Transform)
    SUiElement.SetParent(SUiElement)
    SUiElement.Remove()
    SUiElement.As<T>()
    SUiElement.GetClass(string)
    SUiElement.GetOrAdd<T>()
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: SUI
    Assembly: SonsSdk.dll
    Syntax
    public class SLabelOptions : SUiElement<SLabelOptions, string>

    Constructors

    SLabelOptions(GameObject)

    Declaration
    public SLabelOptions(GameObject root)
    Parameters
    Type Name Description
    GameObject root

    Methods

    Alignment(TextAlignmentOptions)

    Declaration
    public SLabelOptions Alignment(TextAlignmentOptions alignment)
    Parameters
    Type Name Description
    TextAlignmentOptions alignment
    Returns
    Type Description
    SLabelOptions

    AutoSizeContainer(bool)

    Declaration
    public SLabelOptions AutoSizeContainer(bool enable = true)
    Parameters
    Type Name Description
    bool enable
    Returns
    Type Description
    SLabelOptions

    Font(EFont)

    Declaration
    public SLabelOptions Font(SUI.EFont font)
    Parameters
    Type Name Description
    SUI.EFont font
    Returns
    Type Description
    SLabelOptions

    Font(TMP_FontAsset)

    Declaration
    public SLabelOptions Font(TMP_FontAsset font)
    Parameters
    Type Name Description
    TMP_FontAsset font
    Returns
    Type Description
    SLabelOptions

    FontSpacing(float)

    Declaration
    public SLabelOptions FontSpacing(float spacing)
    Parameters
    Type Name Description
    float spacing
    Returns
    Type Description
    SLabelOptions

    LineSpacing(float)

    Declaration
    public SLabelOptions LineSpacing(float spacing)
    Parameters
    Type Name Description
    float spacing
    Returns
    Type Description
    SLabelOptions

    Margin(int)

    Declaration
    public SLabelOptions Margin(int margin)
    Parameters
    Type Name Description
    int margin
    Returns
    Type Description
    SLabelOptions

    Margin(int, int)

    Declaration
    public SLabelOptions Margin(int leftRight, int topBottom)
    Parameters
    Type Name Description
    int leftRight
    int topBottom
    Returns
    Type Description
    SLabelOptions

    Margin(int, int, int, int)

    Declaration
    public SLabelOptions Margin(int left, int right, int top, int bottom)
    Parameters
    Type Name Description
    int left
    int right
    int top
    int bottom
    Returns
    Type Description
    SLabelOptions

    OnObservaleChanged(string)

    Declaration
    protected override void OnObservaleChanged(string value)
    Parameters
    Type Name Description
    string value
    Overrides
    SUiElement<SLabelOptions, string>.OnObservaleChanged(string)

    RegisterObservable(Observable<string>)

    Declaration
    protected override void RegisterObservable(Observable<string> observable)
    Parameters
    Type Name Description
    Observable<string> observable
    Overrides
    SUiElement<SLabelOptions, string>.RegisterObservable(Observable<string>)

    Wrap(bool)

    Declaration
    public SLabelOptions Wrap(bool wrap)
    Parameters
    Type Name Description
    bool wrap
    Returns
    Type Description
    SLabelOptions