mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-14 23:56:36 +08:00
1.6.6
* Added better support for Properties with index parameters, can now support multiple parameters and non-int parameters. * Parameters are now formatted in a more expected fashion (in the `(Type arg0, Type arg1)` format). * Got rid of all the ugly yellow text. * Cleaned up some minor GUI display / layout issues. * Refactored some of CacheMethod into CacheObjectBase
This commit is contained in:
@ -162,10 +162,20 @@ namespace Explorer
|
||||
name += " (";
|
||||
foreach (var param in mi.GetParameters())
|
||||
{
|
||||
name += param.ParameterType.Name + ", ";
|
||||
name += $"{param.ParameterType.Name} {param.Name}, ";
|
||||
}
|
||||
name += ")";
|
||||
}
|
||||
else if (member is PropertyInfo pi)
|
||||
{
|
||||
name += " (";
|
||||
foreach (var param in pi.GetIndexParameters())
|
||||
{
|
||||
name += $"{param.ParameterType.Name} {param.Name}, ";
|
||||
}
|
||||
name += ")";
|
||||
}
|
||||
|
||||
if (names.Contains(name))
|
||||
{
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user