C# Class GameResFactory, UnityHello

Show file Open project: woshihuo12/UnityHello Class Usage Examples

Public Properties

Property Type Description
mAssetPacker AssetPacker,

Public Methods

Method Description
DestroyAllUIEffect ( ) : void
DestroyUIEffect ( GameObject obj ) : void
DestroyUIPrefab ( GameObject go ) : void
GetResSprite ( string spName ) : Sprite
GetUIEffect ( string effname, LuaFunction luaCallBack ) : void
GetUIPrefab ( string assetName, Transform parent, LuaTable luaTable, LuaFunction luaCallBack ) : void
Instance ( ) : GameResFactory,

Protected Methods

Method Description
GetEffectObj ( string effname, System callBack ) : void

Method Details

DestroyAllUIEffect() public method

public DestroyAllUIEffect ( ) : void
return void

DestroyUIEffect() public method

public DestroyUIEffect ( GameObject obj ) : void
obj GameObject
return void

DestroyUIPrefab() public method

public DestroyUIPrefab ( GameObject go ) : void
go GameObject
return void

GetEffectObj() protected method

protected GetEffectObj ( string effname, System callBack ) : void
effname string
callBack System
return void

GetResSprite() public method

public GetResSprite ( string spName ) : Sprite
spName string
return Sprite

GetUIEffect() public method

public GetUIEffect ( string effname, LuaFunction luaCallBack ) : void
effname string
luaCallBack LuaInterface.LuaFunction
return void

GetUIPrefab() public method

public GetUIPrefab ( string assetName, Transform parent, LuaTable luaTable, LuaFunction luaCallBack ) : void
assetName string
parent Transform
luaTable LuaInterface.LuaTable
luaCallBack LuaInterface.LuaFunction
return void

Instance() public static method

public static Instance ( ) : GameResFactory,
return GameResFactory,

Property Details

mAssetPacker public property

public AssetPacker, mAssetPacker
return AssetPacker,