C# Class TexturePackerAtlasEditor

显示文件 Open project: macgyver13/globalgamejam2016

Public Properties

Property Type Description
editor TexturePackerEditor,
selection List

Private Properties

Property Type Description
GetClickedImageName string
SubMenuCallBack void
addFrameToSprite void
addSelectedFrameToAnimation void
getAtlas TPAtlas
rememberImageRect void
renderAtlasPreview void
showErrorMessage void

Public Methods

Method Description
OnLeftMouseClick ( Vector2 mousePos ) : void
OnRightMouseClick ( Vector2 mousePos ) : void
addRangeToSelection ( string fromTex, string toTex ) : void
render ( ) : void
setNodeY ( float y ) : void

Private Methods

Method Description
GetClickedImageName ( Vector2 mousePos ) : string
SubMenuCallBack ( object obj ) : void
addFrameToSprite ( TPFrameHolder sprite ) : void
addSelectedFrameToAnimation ( ) : void
getAtlas ( string atlasName ) : TPAtlas
rememberImageRect ( string name, Rect rect ) : void
renderAtlasPreview ( ) : void
showErrorMessage ( ) : void

Method Details

OnLeftMouseClick() public method

public OnLeftMouseClick ( Vector2 mousePos ) : void
mousePos Vector2
return void

OnRightMouseClick() public method

public OnRightMouseClick ( Vector2 mousePos ) : void
mousePos Vector2
return void

addRangeToSelection() public method

public addRangeToSelection ( string fromTex, string toTex ) : void
fromTex string
toTex string
return void

render() public method

public render ( ) : void
return void

setNodeY() public method

public setNodeY ( float y ) : void
y float
return void

Property Details

editor public_oe property

public TexturePackerEditor, editor
return TexturePackerEditor,

selection public_oe static_oe property

public static List selection
return List