Updated unity version
I thought it was 6.3 already
This commit is contained in:
1 parent
56a432ad66
commit
81ff8af35c
16 files changed
+792
-142
No files matched your search
@@ -49,7 +49,15 @@ namespace PashaBibko.Pacore
|
||||
/* Adds the class type to each attribute in the dictionary */
|
||||
foreach (Type type in seen)
|
||||
{
|
||||
AttributeCache[type].Add(current);
|
||||
if (AttributeCache.ContainsKey(type))
|
||||
{
|
||||
AttributeCache[type].Add(current);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
AttributeCache.Add(type, new List<Type> { current });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user