private object CreateInstance() { var obj = _implementationType.IsSubclassOf(typeof(MonoBehaviour)) ? DependencyInjectionUtils.CreateMonoBehaviorSingleton(_implementationType) : Activator.CreateInstance(_implementationType); return(obj); }
public Workflow(params Profile[] profiles) { DependencyInjectionUtils.Initialize(profiles); }