C# Class exAtlasDB, ex2d-v1

Inheritance: UnityEngine.ScriptableObject
Show file Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
atlasInfoGUIDs List
curVersion int
dbKey string
dbPath string
elementInfos List
showData bool
showTable bool
texGUIDToElementInfo ElementInfo>.Dictionary

Public Methods

Method Description
AddAtlasInfo ( exAtlasInfo, _a ) : void
BuildAll ( ) : void
DB ( ) : exAtlasDB,
DBExists ( ) : bool
ForceSync ( ) : void
GetElementInfo ( Texture2D _tex ) : ElementInfo,
GetElementInfo ( string _textureGUID ) : ElementInfo,
GetTexGUIDToElementInfo ( ) : ElementInfo>.Dictionary
HasAtlasInfoGUID ( string _guid ) : bool
RemoveAtlasInfo ( string _atlasInfoGUID ) : void
RemoveElementInfo ( string _textureGUID ) : void
UpdateElementInfo ( exAtlasInfo, _el, int _index ) : void

Private Methods

Method Description
AddElementInfo ( exAtlasInfo, _el, int _index ) : ElementInfo,
AddElementInfo ( string _textureGUID, string _atlasGUID, string _atlasInfoGUID, int _index ) : ElementInfo,
CreateDB ( ) : void
Init ( ) : void
SyncDirectory ( string _path ) : void
SyncRoot ( ) : void

Method Details

AddAtlasInfo() public static method

public static AddAtlasInfo ( exAtlasInfo, _a ) : void
_a exAtlasInfo,
return void

BuildAll() public static method

public static BuildAll ( ) : void
return void

DB() public static method

public static DB ( ) : exAtlasDB,
return exAtlasDB,

DBExists() public static method

public static DBExists ( ) : bool
return bool

ForceSync() public static method

public static ForceSync ( ) : void
return void

GetElementInfo() public static method

public static GetElementInfo ( Texture2D _tex ) : ElementInfo,
_tex UnityEngine.Texture2D
return ElementInfo,

GetElementInfo() public static method

public static GetElementInfo ( string _textureGUID ) : ElementInfo,
_textureGUID string
return ElementInfo,

GetTexGUIDToElementInfo() public static method

public static GetTexGUIDToElementInfo ( ) : ElementInfo>.Dictionary
return ElementInfo>.Dictionary

HasAtlasInfoGUID() public static method

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

RemoveAtlasInfo() public static method

public static RemoveAtlasInfo ( string _atlasInfoGUID ) : void
_atlasInfoGUID string
return void

RemoveElementInfo() public static method

public static RemoveElementInfo ( string _textureGUID ) : void
_textureGUID string
return void

UpdateElementInfo() public static method

public static UpdateElementInfo ( exAtlasInfo, _el, int _index ) : void
_el exAtlasInfo,
_index int
return void

Property Details

atlasInfoGUIDs public property

public List atlasInfoGUIDs
return List

curVersion public property

public int curVersion
return int

dbKey public static property

public static string dbKey
return string

dbPath public static property

public static string dbPath
return string

elementInfos public property

public List elementInfos
return List

showData public property

public bool showData
return bool

showTable public property

public bool showTable
return bool

texGUIDToElementInfo public property

public Dictionary texGUIDToElementInfo
return ElementInfo>.Dictionary