C# Class RagePixel2.ResizeHandler

Inheritance: IRagePixelMode
显示文件 Open project: JuhaKiili/RagePixel2

Public Methods

Method Description
AllowPickingDefaultBehaviour ( ) : bool
OnMouseDown ( RagePixelState state ) : void
OnMouseDrag ( RagePixelState state ) : void
OnMouseMove ( RagePixelState state ) : void
OnMouseUp ( RagePixelState state ) : void
OnRepaint ( RagePixelState state ) : void
OnSceneGUI ( RagePixelState state ) : void

Private Methods

Method Description
DrawGizmo ( RagePixelState state ) : void
DrawSizeLabel ( RagePixelState state ) : void
Initialize ( RagePixelState state ) : void
ShiftTransformAfterResize ( Transform transform, Sprite sprite, int oldWidth, int oldHeight, int newWidth, int newHeight ) : void

Method Details

AllowPickingDefaultBehaviour() public method

public AllowPickingDefaultBehaviour ( ) : bool
return bool

OnMouseDown() public method

public OnMouseDown ( RagePixelState state ) : void
state RagePixelState
return void

OnMouseDrag() public method

public OnMouseDrag ( RagePixelState state ) : void
state RagePixelState
return void

OnMouseMove() public method

public OnMouseMove ( RagePixelState state ) : void
state RagePixelState
return void

OnMouseUp() public method

public OnMouseUp ( RagePixelState state ) : void
state RagePixelState
return void

OnRepaint() public method

public OnRepaint ( RagePixelState state ) : void
state RagePixelState
return void

OnSceneGUI() public method

public OnSceneGUI ( RagePixelState state ) : void
state RagePixelState
return void