public void Setup() { m_UndoObject = new TestUndo(); m_EditablePath = new EditablePath(); m_Controller = new EditablePathController(); m_Controller.editablePath = m_EditablePath; m_EditablePath.undoObject = m_UndoObject; }
public void Setup() { m_GUIState = new TestGUIState(); m_GUISystem = new GUISystem(m_GUIState); m_Drawer = new TestDrawer(); m_EditablePath = new EditablePath(); m_Controller = new EditablePathController(); m_Controller.editablePath = m_EditablePath; m_PathEditor = new PathEditor(m_GUISystem); m_PathEditor.drawerOverride = m_Drawer; m_PathEditor.controller = m_Controller; }