/// <inheritdoc/>
            protected override GUILayoutX CreateGUI(GUILayoutY layout)
            {
                InspectableListGUI   listParent = (InspectableListGUI)parent;
                SerializableProperty property   = GetValue <SerializableProperty>();

                string entryPath = listParent.Path + "[" + SeqIndex + "]";

                Field = CreateField(listParent.Context, SeqIndex + ".", entryPath, 0, Depth + 1,
                                    new InspectableFieldLayout(layout), property, new InspectableFieldStyleInfo());

                return(Field.GetTitleLayout());
            }
Example #2
0
            /// <inheritdoc/>
            protected override GUILayoutX CreateKeyGUI(GUILayoutY layout)
            {
                keyLayout = layout;
                InspectableDictionaryGUI dictParent = (InspectableDictionaryGUI)parent;
                SerializableProperty     property   = GetKey <SerializableProperty>();

                string entryPath = dictParent.Path + "Key[" + RowIdx + "]";

                fieldKey = CreateField(dictParent.Inspector, "Key", entryPath, 0, Depth + 1,
                                       new InspectableFieldLayout(layout), property);

                return(fieldKey.GetTitleLayout());
            }
Example #3
0
            /// <inheritdoc/>
            protected override GUILayoutX CreateGUI(GUILayoutY layout)
            {
                InspectableArrayGUI  arrayParent = (InspectableArrayGUI)parent;
                SerializableProperty property    = GetValue <SerializableProperty>();

                InspectableFieldStyleInfo styleInfo = arrayParent.Style.Clone();

                styleInfo.StyleFlags &= ~InspectableFieldStyleFlags.NativeWrapper;

                string entryPath = arrayParent.Path + "[" + SeqIndex + "]";

                Field = CreateField(arrayParent.Context, SeqIndex + ".", entryPath, 0, Depth + 1,
                                    new InspectableFieldLayout(layout), property, styleInfo);

                return(Field.GetTitleLayout());
            }