Click or drag to resize

UIPackageGetItemAssetByURL Method

Get a asset with a certain name.

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Object GetItemAssetByURL(
	string url
)

Parameters

url
Type: SystemString
Resource url.

Return Value

Type: Object
If resource is atlas, returns NTexture; If resource is sound, returns AudioClip.
See Also