C# Class RagePixel2.ReplaceColorHandler

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

Public Methods

Method Description
AllowPickingDefaultBehaviour ( ) : bool
Apply ( Sprite sprite ) : void
Cancel ( Sprite sprite, Color originalColor ) : void
OnMouseDown ( RagePixelState state ) : void
OnMouseDrag ( RagePixelState state ) : void
OnMouseMove ( RagePixelState state ) : void
OnMouseUp ( RagePixelState state ) : void
OnRepaint ( RagePixelState state ) : void
OnSceneGUI ( RagePixelState state ) : void
ReplaceColor ( Sprite sprite, Color from, Color to ) : void
SaveSnapshot ( Sprite sprite ) : void

Method Details

AllowPickingDefaultBehaviour() public method

public AllowPickingDefaultBehaviour ( ) : bool
return bool

Apply() public method

public Apply ( Sprite sprite ) : void
sprite UnityEngine.Sprite
return void

Cancel() public method

public Cancel ( Sprite sprite, Color originalColor ) : void
sprite UnityEngine.Sprite
originalColor UnityEngine.Color
return void

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

ReplaceColor() public method

public ReplaceColor ( Sprite sprite, Color from, Color to ) : void
sprite UnityEngine.Sprite
from UnityEngine.Color
to UnityEngine.Color
return void

SaveSnapshot() public method

public SaveSnapshot ( Sprite sprite ) : void
sprite UnityEngine.Sprite
return void