C# Class LuaFileUtils

ファイルを表示 Open project: guyun008/LuaFramework_ngui_mod Class Usage Examples

Public Properties

Property Type Description
beZip bool

Protected Properties

Property Type Description
instance LuaFileUtils,
searchPaths List
zipMap AssetBundle>.Dictionary

Public Methods

Method Description
AddSearchBundle ( string name, AssetBundle bundle ) : void
AddSearchPath ( string path, bool front = false ) : void
Dispose ( ) : void
GetFullPathFileName ( string fileName ) : string
GetOSDir ( ) : string
LuaFileUtils ( ) : UnityEngine
ReadFile ( string fileName ) : byte[]
RemoveSearchPath ( string path ) : void

Private Methods

Method Description
ReadZipFile ( string fileName ) : byte[]

Method Details

AddSearchBundle() public method

public AddSearchBundle ( string name, AssetBundle bundle ) : void
name string
bundle AssetBundle
return void

AddSearchPath() public method

public AddSearchPath ( string path, bool front = false ) : void
path string
front bool
return void

Dispose() public method

public Dispose ( ) : void
return void

GetFullPathFileName() public method

public GetFullPathFileName ( string fileName ) : string
fileName string
return string

GetOSDir() public static method

public static GetOSDir ( ) : string
return string

LuaFileUtils() public method

public LuaFileUtils ( ) : UnityEngine
return UnityEngine

ReadFile() public method

public ReadFile ( string fileName ) : byte[]
fileName string
return byte[]

RemoveSearchPath() public method

public RemoveSearchPath ( string path ) : void
path string
return void

Property Details

beZip public_oe property

public bool beZip
return bool

instance protected_oe static_oe property

protected static LuaFileUtils, instance
return LuaFileUtils,

searchPaths protected_oe property

protected List searchPaths
return List

zipMap protected_oe property

protected Dictionary zipMap
return AssetBundle>.Dictionary