protected sealed override void OnGUI(Rect position, GUIContent label) { position = BeginBlock(metadata, position, GUIContent.none); if (showHeader) { var headerPosition = position; headerPosition.x = 0; headerPosition.width = LudiqGUIUtility.currentInspectorWidthWithoutScrollbar; OnHeaderGUI(headerPosition); } var nestPosition = position.VerticalSection(ref y, LudiqGUI.GetEditorHeight(this, nestMetadata, position.width)); OnNestGUI(nestPosition); if (showConfiguration) { OnConfigurationGUI(position); } EndBlock(metadata); }
private float GetSelectionPanelHeight(float width) { return(LudiqGUI.GetEditorHeight(null, context.selectionMetadata, width)); }
private float GetGraphPanelHeight(float width) { return(LudiqGUI.GetEditorHeight(null, context.graphMetadata, width)); }
protected override float GetInspectorHeight(float width) { return(LudiqGUI.GetEditorHeight(this, nestMetadata, width)); }
protected virtual float GetNestHeight(float width) { return(LudiqGUI.GetEditorHeight(this, nestMetadata, width)); }