docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OptionalDoubleConverter

    UXML attribute converter for optional double values.

    Inheritance
    object
    UxmlAttributeConverter<Optional<double>>
    OptionalConverter<double>
    OptionalValueConverter<double>
    OptionalDoubleConverter
    Inherited Members
    OptionalConverter<double>.FromString(string)
    OptionalConverter<double>.ToString(Optional<double>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Editor
    Assembly: Unity.AppUI.Editor.dll
    Syntax
    public class OptionalDoubleConverter : OptionalValueConverter<double>

    Methods

    TryParse(string, out double)

    Tries to parse the attribute value as a double.

    Declaration
    protected override bool TryParse(string value, out double v)
    Parameters
    Type Name Description
    string value

    The string to parse.

    double v

    The parsed value, or zero if parsing failed.

    Returns
    Type Description
    bool

    True if the value could be parsed, False otherwise.

    Overrides
    OptionalConverter<double>.TryParse(string, out double)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)