C# Класс Hugula.Utils.CUtils

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
currPersistentExist bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CheckWWWUrl() публичный статический Метод

?��2awww��?url
public static CheckWWWUrl ( string url ) : string
url string
Результат string

ConvertDateTimeInt() публичный статический Метод

convert time to timeline
public static ConvertDateTimeInt ( System time ) : int
time System
Результат int

GetAssetBundleName() публичный статический Метод

AssetBundleName
public static GetAssetBundleName ( string url ) : string
url string
Результат string

GetAssetName() публичный статический Метод

Gets the assetname of the URL file.
public static GetAssetName ( string url ) : string
url string /// URL. ///
Результат string

GetAssetPath() публичный статический Метод

add platformFloder to asset path
public static GetAssetPath ( string name ) : string
name string
Результат string

GetPlatformFolderForAssetBundles() публичный статический Метод

the name manifest
public static GetPlatformFolderForAssetBundles ( ) : string
Результат string

GetRealPersistentDataPath() публичный статический Метод

public static GetRealPersistentDataPath ( ) : string
Результат string

GetRealStreamingAssetsPath() публичный статический Метод

public static GetRealStreamingAssetsPath ( ) : string
Результат string

GetRightFileName() публичный статический Метод

get Md5 or normal filename
public static GetRightFileName ( string fileName ) : string
fileName string
Результат string

GetUDKey() публичный статический Метод

Gets the UD key.
public static GetUDKey ( string url ) : string
url string url.
Результат string

InsertAssetBundleName() публичный статический Метод

insert some worlds before suffix
public static InsertAssetBundleName ( string assetbundleName, string insert ) : string
assetbundleName string
insert string
Результат string

PathCombine() публичный статический Метод

Path Combine
public static PathCombine ( string path1, string path2 ) : string
path1 string
path2 string
Результат string

Описание свойств

currPersistentExist публичное статическое свойство

public static bool currPersistentExist
Результат bool