using UnityEngine;
namespace UOP1.Factory
{
///
/// Implements the IFactory interface for non-abstract types.
///
/// Specifies the non-abstract type to create.
public abstract class FactorySO : ScriptableObject, IFactory where T : new()
{
public virtual T Create()
{
return new T();
}
}
}