C# Класс AssetPackager.Assets.AssetList

Represents set of assets for CombineScripts.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddForcedAssets ( ICollection assets ) : ICollection

Adds forced assets to the assets list, and then appends assets from groups, that are exists in assets collection.

AssetList ( string name, bool force, string listType ) : System

Initializes a new instance of the AssetList class.

FindAsset ( string relativePath ) : Asset

Gets an Asset object for specified relative path.

FindAsset ( string relativePath, string assetNames ) : Asset

Gets an Asset object for specified relative path whoose name is in the assetNames list.

FindAssets ( string assetNames ) : ICollection

Gets a collection of Asset objects using names list.

Описание методов

AddForcedAssets() публичный метод

Adds forced assets to the assets list, and then appends assets from groups, that are exists in assets collection.
public AddForcedAssets ( ICollection assets ) : ICollection
assets ICollection Assets collection.
Результат ICollection

AssetList() публичный метод

Initializes a new instance of the AssetList class.
public AssetList ( string name, bool force, string listType ) : System
name string Set name.
force bool When true all URLs will be forced to combine (see ).
listType string Short name of the asset list type (see ).
Результат System

FindAsset() публичный метод

Gets an Asset object for specified relative path.
public FindAsset ( string relativePath ) : Asset
relativePath string Relative asset path to look for.
Результат Asset

FindAsset() публичный метод

Gets an Asset object for specified relative path whoose name is in the assetNames list.
public FindAsset ( string relativePath, string assetNames ) : Asset
relativePath string Relative asset path to look for.
assetNames string A list of asset names to look where.
Результат Asset

FindAssets() публичный метод

Gets a collection of Asset objects using names list.
public FindAssets ( string assetNames ) : ICollection
assetNames string A list of asset names.
Результат ICollection