UIPackageAddPackage Method (String, AssetBundle, String) |
Add a UI package from a description text and a assetbundle, with a optional main asset name.
Namespace: FairyGUIAssembly: FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static UIPackage AddPackage(
string desc,
AssetBundle res,
string mainAssetName
)
Parameters
- desc
- Type: SystemString
Description text. - res
- Type: AssetBundle
A assetbundle contains resources. - mainAssetName
- Type: SystemString
Main asset name.
Return Value
Type:
UIPackageUIPackage
See Also