C# Class tk2dSpriteCollectionEditorPopup, Malisse

Inheritance: EditorWindow, IEditorHost
Datei anzeigen Open project: Collegiennes/Malisse Class Usage Examples

Private Properties

Property Type Description
AddTexturesInPath List
ClearSelection void
ClearTextureCache void
DrawDropZone void
DrawSpriteList void
DrawToolbar void
GetEntryTypeString string
HandleDroppedPayload void
IsValidDragPayload bool
OnDisable void
OnEnable void
OnGUI void
PopulateEntries void
UpdateSelection void

Public Methods

Method Description
Commit ( ) : void
Contains ( string s, string text ) : bool
GetTextureForSprite ( int spriteId ) : Texture2D
OnSpriteCollectionChanged ( bool retainSelection ) : void
OnSpriteCollectionSortChanged ( ) : void
SelectSpritesFromList ( int indices ) : void
SelectSpritesInSpriteSheet ( int spriteSheetId, int spriteIds ) : void
SetGenerator ( tk2dSpriteCollection, spriteCollection ) : void
SetGeneratorAndSelectedSprite ( tk2dSpriteCollection, spriteCollection, int selectedSprite ) : void

Private Methods

Method Description
AddTexturesInPath ( string path ) : List
ClearSelection ( ) : void
ClearTextureCache ( ) : void
DrawDropZone ( ) : void
DrawSpriteList ( ) : void
DrawToolbar ( ) : void
GetEntryTypeString ( SpriteCollectionEditorEntry kind ) : string
HandleDroppedPayload ( Object objects ) : void
IsValidDragPayload ( ) : bool
OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
PopulateEntries ( ) : void
UpdateSelection ( ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

Contains() public static method

public static Contains ( string s, string text ) : bool
s string
text string
return bool

GetTextureForSprite() public method

public GetTextureForSprite ( int spriteId ) : Texture2D
spriteId int
return Texture2D

OnSpriteCollectionChanged() public method

public OnSpriteCollectionChanged ( bool retainSelection ) : void
retainSelection bool
return void

OnSpriteCollectionSortChanged() public method

public OnSpriteCollectionSortChanged ( ) : void
return void

SelectSpritesFromList() public method

public SelectSpritesFromList ( int indices ) : void
indices int
return void

SelectSpritesInSpriteSheet() public method

public SelectSpritesInSpriteSheet ( int spriteSheetId, int spriteIds ) : void
spriteSheetId int
spriteIds int
return void

SetGenerator() public method

public SetGenerator ( tk2dSpriteCollection, spriteCollection ) : void
spriteCollection tk2dSpriteCollection,
return void

SetGeneratorAndSelectedSprite() public method

public SetGeneratorAndSelectedSprite ( tk2dSpriteCollection, spriteCollection, int selectedSprite ) : void
spriteCollection tk2dSpriteCollection,
selectedSprite int
return void