We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c5dc3e commit 6e6adbaCopy full SHA for 6e6adba
1 file changed
src/ComponentCacheGenerator/Assets/ComponentCacheGenerator/Runtime/GenerateComponentCacheAttribute.cs
@@ -20,7 +20,7 @@ public GenerateComponentCacheAttribute(Type componentType)
20
21
public Type ComponentType { get; }
22
public ComponentSearchScope SearchScope { get; set; } = ComponentSearchScope.Self;
23
- public bool IsRequired { get; set; } = false;
+ public bool IsRequired { get; set; } = true;
24
public string PropertyName { get; set; } = null;
25
}
26
0 commit comments