private static bool CanBeBaked(Type type) => type.IsClass && type.IsPublic && !IsCompilerGenerated(type) && (typeof(MonoBehaviour).IsAssignableFrom(type) && HasAtLeastOneConstructMethod(type) && Injection.IsInjectable(type) || IsInjectablePoco(type));