using System; using UnityEngine; namespace Svelto.Factories { public interface IMonoBehaviourFactory { M Build(Func constructor) where M:MonoBehaviour; } }