Fix: parent class members not visible

This commit is contained in:
AnnulusGames 2023-12-11 22:37:29 +09:00
parent 8384cb40b7
commit e59b878c65

View File

@ -157,7 +157,7 @@ namespace Alchemy.Editor.Internal
var rootNode = new GroupNode("Inspector-Group-Root", null);
// Get all members
var members = targetType.GetMembers(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
var members = ReflectionHelper.GetMembers(targetType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, true);
// Build member nodes
foreach (var member in members)