You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,26 @@ void Awake()
97
97
}
98
98
```
99
99
100
+
It is also possible to specify the property name of the generated cache. If not specified, the class name of the target component converted to lower camel case will be used.
You can specify generation code settings by specifying values for properties in the `[GenerateComponentCache]` attribute.
@@ -105,7 +125,6 @@ You can specify generation code settings by specifying values for properties in
105
125
| - | - |
106
126
| SearchScope | Specifies the scope to search for components. If multiple are specified, the search will be performed in the order of Self > Children > Parent. (Default is Self) |
107
127
| IsRequired | If IsRequired is true, an exception will be thrown if the component is not found when `CacheComponents()` is called. If the search scope is Self, `[RequireComponent]` attribute will be automatically generated. (Default is true) |
108
-
| PropertyName | Specifies the name of the generated property. If not specified, the lower camel case version of the target component's class name will be used. |
0 commit comments