Class AssetFactory<T>
A base implementation of the IAssetFactory<T> interface.
public abstract class AssetFactory<T> : IAssetFactory<T> where T : Asset
Type Parameters
T
The type of asset this factory can create.
- Inheritance
-
AssetFactory<T>
- Implements
- Derived
Properties
AssetType
Retrieve the asset type associated to this factory.
public 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.
public abstract T New()
Returns
- T
A new instance of the asset type associated to this factory.