C# Class BBGamelib.CCAnimationCache

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

Public Methods

Method Description
CCAnimationCache ( ) : UnityEngine
PurgeSharedAnimationCache ( ) : void
ToString ( ) : string
addAnimation ( CCAnimation animation, string name ) : void
addAnimationsWithDictionary ( NSDictionary dictionary ) : void
addAnimationsWithFile ( string plist ) : void
animationByName ( string name ) : CCAnimation
removeAnimationByName ( string name ) : void

Private Methods

Method Description
parseVersion1 ( NSDictionary animations ) : void
parseVersion2 ( NSDictionary animations ) : void

Method Details

CCAnimationCache() public method

public CCAnimationCache ( ) : UnityEngine
return UnityEngine

PurgeSharedAnimationCache() public static method

public static PurgeSharedAnimationCache ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

addAnimation() public method

public addAnimation ( CCAnimation animation, string name ) : void
animation CCAnimation
name string
return void

addAnimationsWithDictionary() public method

public addAnimationsWithDictionary ( NSDictionary dictionary ) : void
dictionary NSDictionary
return void

addAnimationsWithFile() public method

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

animationByName() public method

public animationByName ( string name ) : CCAnimation
name string
return CCAnimation

removeAnimationByName() public method

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