We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6516fb4 commit 254f1faCopy full SHA for 254f1fa
Addons/Entitas.CodeGenerator/Entitas.CodeGenerator/Generators/EntityIndexGenerator.cs
@@ -28,7 +28,7 @@ public static class ContextsExtensions {
28
29
const string ADD_INDEX_TEMPLATE =
30
@" ${contextName}.AddEntityIndex(new ${IndexType}<${ContextName}Entity, ${KeyType}>(
31
- ""${IndexName}"",
+ ${IndexName},
32
${contextName}.GetGroup(${ContextName}Matcher.${IndexName}),
33
(e, c) => { var component = c as ${ComponentType}; return component != null ? component.${MemberName} : e.${componentName}.${MemberName}; }));";
34
0 commit comments