C# Class BBGamelib.CCSpriteFrameCache

Show file Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Public Methods

Method Description
PurgeSharedSpriteFrameCache ( ) : void
ToString ( ) : string
addSpriteFrame ( CCSpriteFrame frame ) : void
addSpriteFramesWithFile ( string path ) : void
removeSpriteFrameByName ( string name ) : void
removeSpriteFrames ( ) : void
removeSpriteFramesFromFile ( string plist ) : void
removeUnusedSpriteFrames ( ) : void
spriteFrameByName ( string name ) : CCSpriteFrame

Private Methods

Method Description
CCSpriteFrameCache ( ) : UnityEngine
addSpriteFrames ( NSDictionary dictionary, Sprite sprites ) : void
removeSpriteFramesFromDictionary ( NSDictionary dictionary ) : void

Method Details

PurgeSharedSpriteFrameCache() public static method

public static PurgeSharedSpriteFrameCache ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

addSpriteFrame() public method

public addSpriteFrame ( CCSpriteFrame frame ) : void
frame CCSpriteFrame
return void

addSpriteFramesWithFile() public method

public addSpriteFramesWithFile ( string path ) : void
path string
return void

removeSpriteFrameByName() public method

public removeSpriteFrameByName ( string name ) : void
name string
return void

removeSpriteFrames() public method

public removeSpriteFrames ( ) : void
return void

removeSpriteFramesFromFile() public method

public removeSpriteFramesFromFile ( string plist ) : void
plist string
return void

removeUnusedSpriteFrames() public method

public removeUnusedSpriteFrames ( ) : void
return void

spriteFrameByName() public method

public spriteFrameByName ( string name ) : CCSpriteFrame
name string
return CCSpriteFrame