Behavior Canceling & Grouping
Behaviors are now grouped, behaviors within a group can cancel execution of the rest of the group
This commit is contained in:
parent
c24c155673
commit
fc94531566
35 changed files with 613 additions and 190 deletions
|
|
@ -484,8 +484,11 @@ public class DatabaseInspector : EditorWindow
|
|||
using (var h = new HorizontalScope())
|
||||
{
|
||||
GUILayout.Label(label, GUILayout.Width(width));
|
||||
if(area)
|
||||
return TextArea(value,GUILayout.Width(position.width-width-10), GUILayout.Height(100));
|
||||
if (area)
|
||||
{
|
||||
EditorStyles.textArea.wordWrap = true;
|
||||
return DelayedTextField(value, EditorStyles.textArea, GUILayout.Width(position.width-width-10), GUILayout.Height(100));
|
||||
}
|
||||
return DelayedTextField(value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue