Interface IAssetFactory<T>
An interface that represents an asset factory.
public interface IAssetFactory<out T> where T : Asset
Type Parameters
T
The type of asset this factory can create.
Properties
AssetType
Retrieve the asset type associated to this factory.
Type AssetType { get; }
Property Value
- Type
The asset type associated to this factory.
Methods
New()
Creates a new instance of the asset type associated to this factory.
T New()
Returns
- T
A new instance of the asset type associated to this factory.