ScriptableFactoryDatabase
Generic base for creating type-specific factory databases.
Definition
Namespace: Paragon.Core.ScriptableFactory
Assembly: Paragon.dll
public class ScriptableFactoryDatabase<TDatabase, TFactory> : SingletonScriptableObject<TDatabase>
where TDatabase : ScriptableFactoryDatabase<TDatabase, TFactory>
where TFactory : IScriptableFactoryType Parameters
Parameter
Description
TDatabase
The derived database type
TFactory
The factory type to index
Methods
GetFactory()
Gets a factory by its hash code.
public static TFactory GetFactory(int index);Example
See Also
Last updated
Was this helpful?