public SpriteOutlineModule(ISpriteEditor sem, IEventSystem es, IUndoSystem us, IAssetDatabase ad, IGUIUtility gu, IShapeEditorFactory sef, ITexture2D outlineTexture) { this.spriteEditorWindow = sem; this.undoSystem = us; this.eventSystem = es; this.assetDatabase = ad; this.guiUtility = gu; this.shapeEditorFactory = sef; this.m_OutlineTexture = outlineTexture; this.m_ShapeSelectionUI = new ShapeEditorRectSelectionTool(gu); this.m_ShapeSelectionUI.RectSelect += new Action <Rect, ShapeEditor.SelectionType>(this.RectSelect); this.m_ShapeSelectionUI.ClearSelection += new Action(this.ClearSelection); }
public SpriteOutlineModule(ISpriteEditor sem, IEventSystem es, IUndoSystem us, IAssetDatabase ad, IGUIUtility gu, IShapeEditorFactory sef, ITexture2D outlineTexture) { spriteEditorWindow = sem; undoSystem = us; eventSystem = es; assetDatabase = ad; guiUtility = gu; shapeEditorFactory = sef; m_OutlineTexture = outlineTexture; m_ShapeSelectionUI = new ShapeEditorRectSelectionTool(gu); m_ShapeSelectionUI.RectSelect += RectSelect; m_ShapeSelectionUI.ClearSelection += ClearSelection; }
public SpritePhysicsShapeModule(ISpriteEditor sem, IEventSystem ege, IUndoSystem us, IAssetDatabase ad, IGUIUtility gu, IShapeEditorFactory sef, ITexture2D outlineTexture) : base(sem, ege, us, ad, gu, sef, outlineTexture) { spriteEditorWindow = sem; }