Method | Description | |
---|---|---|
AddPackage ( |
Add a UI package from assetbundle.
|
|
AddPackage ( |
Add a UI package from two assetbundles. desc and res can be same.
|
|
AddPackage ( |
Add a UI package from two assetbundles with a optional main asset name.
|
|
AddPackage ( string descFilePath ) : |
Add a UI package from a path relative to Unity Resources path.
|
|
AddPackage ( string desc, |
Add a UI package from a description text and a assetbundle.
|
|
AddPackage ( string desc, |
Add a UI package from a description text and a assetbundle, with a optional main asset name.
|
|
AddPackage ( string assetPath, |
||
CreateObject ( string resName ) : |
|
|
CreateObject ( string resName, System userClass ) : |
|
|
CreateObject ( string pkgName, string resName ) : |
Create a UI object.
|
|
CreateObject ( string pkgName, string resName, System userClass ) : |
Create a UI object.
|
|
CreateObjectAsync ( string resName, CreateObjectCallback callback ) : void | ||
CreateObjectAsync ( string pkgName, string resName, CreateObjectCallback callback ) : void | ||
CreateObjectFromURL ( string url ) : |
Create a UI object.
|
|
CreateObjectFromURL ( string url, System userClass ) : |
Create a UI object.
|
|
CreateObjectFromURL ( string url, CreateObjectCallback callback ) : void | ||
GetById ( string id ) : |
Return a UIPackage with a certain id.
|
|
GetByName ( string name ) : |
Return a UIPackage with a certain name.
|
|
GetItem ( string itemId ) : |
||
GetItemAsset ( |
||
GetItemAsset ( string resName ) : object |
|
|
GetItemAsset ( string pkgName, string resName ) : object |
Get a asset with a certain name.
|
|
GetItemAssetByURL ( string url ) : object |
Get a asset with a certain name.
|
|
GetItemByName ( string itemName ) : |
||
GetItemByURL ( string url ) : |
||
GetItemURL ( string pkgName, string resName ) : string |
Get url of an item in package.
|
|
GetItems ( ) : List |
||
GetPackages ( ) : List |
|
|
GetPixelHitTestData ( string itemId ) : FairyGUI.PixelHitTestData | ||
RemoveAllPackages ( ) : void |
|
|
RemoveAllPackages ( bool allowDestroyAssets ) : void |
|
|
RemovePackage ( string packageIdOrName ) : void |
Remove a package. All resources in this package will be disposed.
|
|
RemovePackage ( string packageIdOrName, bool allowDestroyingAssets ) : void |
Remove a package. All resources in this package will be disposed.
|
|
SetStringsSource ( XML source ) : void |
Set strings source.
|
|
UIPackage ( ) : System |
Method | Description | |
---|---|---|
CollectComponentChildren ( |
收集创建目标对象所需的所有类型信息
|
|
ComparePackageItem ( |
||
Create ( string desc, |
||
CreateObject ( |
||
CreateObjectAsync ( |
||
CreateSpriteTexture ( AtlasSprite sprite ) : |
||
DecodeDesc ( string source ) : void | ||
Dispose ( bool allowDestroyingAssets ) : void | ||
LoadAtlas ( |
||
LoadBinary ( string fileName ) : byte[] | ||
LoadComponent ( |
||
LoadComponentChildren ( |
||
LoadFont ( |
||
LoadMovieClip ( |
||
LoadPackage ( ) : void | ||
LoadSound ( |
||
LoadString ( string fileName ) : string | ||
TranslateComponent ( PackageItem item ) : void | ||
_CreateObjectAsync ( PackageItem item, CreateObjectCallback callback ) : IEnumerator |
public static AddPackage ( |
||
bundle | A assetbundle. | |
return |
public static AddPackage ( |
||
desc | A assetbunble contains description file. | |
res | A assetbundle contains resources. | |
return |
public static AddPackage ( |
||
desc | A assetbunble contains description file. | |
res | A assetbundle contains resources. | |
mainAssetName | string | Main asset name. |
return |
public static AddPackage ( string descFilePath ) : |
||
descFilePath | string | Path relative to Unity Resources path. |
return |
public static AddPackage ( string desc, |
||
desc | string | Description text. |
res | A assetbundle contains resources. | |
return |
public static AddPackage ( string desc, |
||
desc | string | Description text. |
res | A assetbundle contains resources. | |
mainAssetName | string | Main asset name. |
return |
public static AddPackage ( string assetPath, |
||
assetPath | string | |
loadFunc | ||
return |
public CreateObject ( string resName ) : |
||
resName | string | |
return |
public CreateObject ( string resName, System userClass ) : |
||
resName | string | |
userClass | System | |
return |
public static CreateObject ( string pkgName, string resName ) : |
||
pkgName | string | Package name. |
resName | string | Resource name. |
return |
public static CreateObject ( string pkgName, string resName, System userClass ) : |
||
pkgName | string | Package name. |
resName | string | Resource name. |
userClass | System | Custom implementation of this object. |
return |
public CreateObjectAsync ( string resName, CreateObjectCallback callback ) : void | ||
resName | string | |
callback | CreateObjectCallback | |
return | void |
public static CreateObjectAsync ( string pkgName, string resName, CreateObjectCallback callback ) : void | ||
pkgName | string | |
resName | string | |
callback | CreateObjectCallback | |
return | void |
public static CreateObjectFromURL ( string url ) : |
||
url | string | Resource url. |
return |
public static CreateObjectFromURL ( string url, System userClass ) : |
||
url | string | Resource url. |
userClass | System | Custom implementation of this object. |
return |
public static CreateObjectFromURL ( string url, CreateObjectCallback callback ) : void | ||
url | string | |
callback | CreateObjectCallback | |
return | void |
public static GetById ( string id ) : |
||
id | string | ID of the package. |
return |
public static GetByName ( string name ) : |
||
name | string | Name of the package. |
return |
public GetItem ( string itemId ) : |
||
itemId | string | |
return |
public GetItemAsset ( |
||
item | ||
return | object |
public GetItemAsset ( string resName ) : object | ||
resName | string | |
return | object |
public static GetItemAsset ( string pkgName, string resName ) : object | ||
pkgName | string | Package name. |
resName | string | Resource name. |
return | object |
public static GetItemAssetByURL ( string url ) : object | ||
url | string | Resource url. |
return | object |
public GetItemByName ( string itemName ) : |
||
itemName | string | |
return |
public static GetItemByURL ( string url ) : |
||
url | string | |
return |
public static GetItemURL ( string pkgName, string resName ) : string | ||
pkgName | string | Package name. |
resName | string | Resource name. |
return | string |
public GetPixelHitTestData ( string itemId ) : FairyGUI.PixelHitTestData | ||
itemId | string | |
return | FairyGUI.PixelHitTestData |
public static RemoveAllPackages ( bool allowDestroyAssets ) : void | ||
allowDestroyAssets | bool | |
return | void |
public static RemovePackage ( string packageIdOrName ) : void | ||
packageIdOrName | string | |
return | void |
public static RemovePackage ( string packageIdOrName, bool allowDestroyingAssets ) : void | ||
packageIdOrName | string | |
allowDestroyingAssets | bool | |
return | void |
public static SetStringsSource ( XML source ) : void | ||
source | XML | |
return | void |