protected override void DrawThis() { GUILayout.BeginVertical(); base.DrawThis(); Block.Draw(); GUILayout.EndVertical(); }
protected override void DrawThis() { GUILayout.BeginVertical(); base.DrawThis(); IfBlock.Draw(); if (Edit || ElseBlock.HasSubnodes) { GUILayout.Label("ELSE", Styles.label, GUILayout.ExpandWidth(false)); ElseBlock.Draw(); } GUILayout.EndVertical(); }