C# Class Hugula.Utils.CUtils

Mostra file Open project: tenvick/hugula Class Usage Examples

Public Properties

Property Type Description
currPersistentExist bool

Public Methods

Method Description
CheckWWWUrl ( string url ) : string

?��2awww��?url

ConvertDateTimeInt ( System time ) : int

convert time to timeline

GetAssetBundleName ( string url ) : string

AssetBundleName

GetAssetName ( string url ) : string

Gets the assetname of the URL file.

GetAssetPath ( string name ) : string

add platformFloder to asset path

GetPlatformFolderForAssetBundles ( ) : string

the name manifest

GetRealPersistentDataPath ( ) : string
GetRealStreamingAssetsPath ( ) : string
GetRightFileName ( string fileName ) : string

get Md5 or normal filename

GetUDKey ( string url ) : string

Gets the UD key.

InsertAssetBundleName ( string assetbundleName, string insert ) : string

insert some worlds before suffix

PathCombine ( string path1, string path2 ) : string

Path Combine

Private Methods

Method Description
AnalysePathName ( string pathName, int &fileIndex, int &fileLen, int &dotIndex, int &suffixLen ) : void

Analyse file Path Name

GetAssetFullPath ( string assetPath ) : string
GetAssetOriginalFullPath ( string assetPath ) : string
GetFileFullPath ( string absolutePath ) : string

Method Details

CheckWWWUrl() public static method

?��2awww��?url
public static CheckWWWUrl ( string url ) : string
url string
return string

ConvertDateTimeInt() public static method

convert time to timeline
public static ConvertDateTimeInt ( System time ) : int
time System
return int

GetAssetBundleName() public static method

AssetBundleName
public static GetAssetBundleName ( string url ) : string
url string
return string

GetAssetName() public static method

Gets the assetname of the URL file.
public static GetAssetName ( string url ) : string
url string /// URL. ///
return string

GetAssetPath() public static method

add platformFloder to asset path
public static GetAssetPath ( string name ) : string
name string
return string

GetPlatformFolderForAssetBundles() public static method

the name manifest
public static GetPlatformFolderForAssetBundles ( ) : string
return string

GetRealPersistentDataPath() public static method

public static GetRealPersistentDataPath ( ) : string
return string

GetRealStreamingAssetsPath() public static method

public static GetRealStreamingAssetsPath ( ) : string
return string

GetRightFileName() public static method

get Md5 or normal filename
public static GetRightFileName ( string fileName ) : string
fileName string
return string

GetUDKey() public static method

Gets the UD key.
public static GetUDKey ( string url ) : string
url string url.
return string

InsertAssetBundleName() public static method

insert some worlds before suffix
public static InsertAssetBundleName ( string assetbundleName, string insert ) : string
assetbundleName string
insert string
return string

PathCombine() public static method

Path Combine
public static PathCombine ( string path1, string path2 ) : string
path1 string
path2 string
return string

Property Details

currPersistentExist public_oe static_oe property

public static bool currPersistentExist
return bool