diff options
Diffstat (limited to 'Assets/ActionTool/Editor/ActionEditorUI.cs')
-rw-r--r-- | Assets/ActionTool/Editor/ActionEditorUI.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Assets/ActionTool/Editor/ActionEditorUI.cs b/Assets/ActionTool/Editor/ActionEditorUI.cs index 91ff9cad..a1e2ba36 100644 --- a/Assets/ActionTool/Editor/ActionEditorUI.cs +++ b/Assets/ActionTool/Editor/ActionEditorUI.cs @@ -72,6 +72,14 @@ namespace ActionTool EditorGUI.DrawRect(rect, color);
}
+ public void DrawRectFrame(Rect rect, Color col)
+ {
+ DrawHorizontalLineFast(rect.y, rect.x, rect.x + rect.width, col);
+ DrawHorizontalLineFast(rect.y + rect.height, rect.x, rect.x + rect.width, col);
+ DrawVerticalLineFast(rect.x, rect.y, rect.y + rect.height, col);
+ DrawVerticalLineFast(rect.x + rect.width, rect.y, rect.y + rect.height, col);
+ }
+
public void SelectObject(Object obj)
{
Selection.activeObject = obj;
|