C# Class exSpriteAnimationDB, ex2d-v1

Inheritance: UnityEngine.ScriptableObject
显示文件 Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
curVersion int
dbKey string
dbPath string
guidInfos List
showData bool
showTable bool
spAnimClipGUIDs List
texGuidToAnimClipGUIDs List>.Dictionary

Public Methods

Method Description
AddFrameInfo ( exSpriteAnimClip _animClip, exSpriteAnimClip _fi ) : void
AddFrameInfo ( string _guidAnimClip, string _guidTexture, bool _addGUIDInfo = true ) : void
AddSpriteAnimClip ( exSpriteAnimClip _animClip ) : void
BuildAll ( ) : void
DBExists ( ) : bool
ForceSync ( ) : void
GetSpriteAnimClipGUIDs ( string _textureGUID ) : List
GetTexGUIDToAnimClipGUIDs ( ) : List>.Dictionary
HasSpriteAnimClipGUID ( string _guid ) : bool
RemoveFrameInfo ( exSpriteAnimClip _animClip, exSpriteAnimClip _fi ) : void
RemoveGUIDInfo ( string _guidAnimClip, string _guidTexture ) : void
RemoveSpriteAnimClip ( string _guidAnimClip ) : void

Private Methods

Method Description
CreateDB ( ) : void
Init ( ) : void
SyncDirectory ( string _path ) : void
SyncRoot ( ) : void

Method Details

AddFrameInfo() public static method

public static AddFrameInfo ( exSpriteAnimClip _animClip, exSpriteAnimClip _fi ) : void
_animClip exSpriteAnimClip
_fi exSpriteAnimClip
return void

AddFrameInfo() public static method

public static AddFrameInfo ( string _guidAnimClip, string _guidTexture, bool _addGUIDInfo = true ) : void
_guidAnimClip string
_guidTexture string
_addGUIDInfo bool
return void

AddSpriteAnimClip() public static method

public static AddSpriteAnimClip ( exSpriteAnimClip _animClip ) : void
_animClip exSpriteAnimClip
return void

BuildAll() public static method

public static BuildAll ( ) : void
return void

DBExists() public static method

public static DBExists ( ) : bool
return bool

ForceSync() public static method

public static ForceSync ( ) : void
return void

GetSpriteAnimClipGUIDs() public static method

public static GetSpriteAnimClipGUIDs ( string _textureGUID ) : List
_textureGUID string
return List

GetTexGUIDToAnimClipGUIDs() public static method

public static GetTexGUIDToAnimClipGUIDs ( ) : List>.Dictionary
return List>.Dictionary

HasSpriteAnimClipGUID() public static method

public static HasSpriteAnimClipGUID ( string _guid ) : bool
_guid string
return bool

RemoveFrameInfo() public static method

public static RemoveFrameInfo ( exSpriteAnimClip _animClip, exSpriteAnimClip _fi ) : void
_animClip exSpriteAnimClip
_fi exSpriteAnimClip
return void

RemoveGUIDInfo() public static method

public static RemoveGUIDInfo ( string _guidAnimClip, string _guidTexture ) : void
_guidAnimClip string
_guidTexture string
return void

RemoveSpriteAnimClip() public static method

public static RemoveSpriteAnimClip ( string _guidAnimClip ) : void
_guidAnimClip string
return void

Property Details

curVersion public_oe property

public int curVersion
return int

dbKey public_oe static_oe property

public static string dbKey
return string

dbPath public_oe static_oe property

public static string dbPath
return string

guidInfos public_oe property

public List guidInfos
return List

showData public_oe property

public bool showData
return bool

showTable public_oe property

public bool showTable
return bool

spAnimClipGUIDs public_oe property

public List spAnimClipGUIDs
return List

texGuidToAnimClipGUIDs public_oe property

public Dictionary> texGuidToAnimClipGUIDs
return List>.Dictionary