Data property of type Double does not show up in inspector of ContextHolder

Issue #111 resolved
Christian Oeing repo owner created an issue

See forum thread https://forum.unity.com/threads/released-data-bind-for-unity.298471/page-9#post-9298097

Recently started using Data Bind and it has been excellent so far. I believe I just ran into a small bug I wanted to flag, it seems that "double" type values are not rendered correctly on the context holder. When I change the type to float it works but I need the double type for my particular case. It seems it still works as expected in every other area but I cannot tweak double values through the context holder.

Comments (4)

  1. Christian Oeing reporter

    Inspector for double field was missing in InspectorUtils.cs :

                if (memberType == typeof(double))
                {
                    return EditorGUILayout.DoubleField(memberName, (double)memberValue);
                }
    

  2. Log in to comment