add sniper
This commit is contained in:
@@ -240,7 +240,7 @@ namespace AYellowpaper.SerializedCollections.Editor
|
||||
|
||||
private IKeyable GetLookupTable(object dictionary)
|
||||
{
|
||||
var propInfo = dictionary.GetType().GetProperty(SerializedDictionaryDrawer.LookupTableName, BindingFlags.Instance | BindingFlags.NonPublic);
|
||||
var propInfo = dictionary.GetType().GetProperty(SerializedDictionaryDrawer.LookupTableName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
|
||||
return (IKeyable)propInfo.GetValue(dictionary);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user