public void setEditorRect(RectInt rect) { if (!rect.IsSameRect(getEditorRect())) { if (Event.current.type != EventType.Used) { conversationNode.setEditorX(rect.x); conversationNode.setEditorY(rect.y); conversationNode.setEditorWidth(rect.width); conversationNode.setEditorHeight(rect.height); } else { controller.AddTool(new ChangeNodeRectTool(this, rect)); } } }