Esempio n. 1
0
        /// <inheritdoc/>
        protected internal override void Initialize(int layoutIndex)
        {
            GUILayout arrayLayout = layout.AddLayoutY(layoutIndex);

            listGUIField            = InspectableListGUI.Create(parent, title, path, property, arrayLayout, depth);
            listGUIField.IsExpanded = parent.Persistent.GetBool(path + "_Expanded");
            listGUIField.OnExpand  += x => parent.Persistent.SetBool(path + "_Expanded", x);
        }