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