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:
hyperion51 2020-05-11 01:17:10 +01:00
commit fc94531566
35 changed files with 613 additions and 190 deletions

View file

@ -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);
}
}