Skip to content

Conversation

@ManlyMarco
Copy link
Owner

No description provided.

@ManlyMarco ManlyMarco requested a review from Copilot October 9, 2025 11:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where inherited IL2CPP members were not being properly detected by refactoring the member collection system to use an enum-based approach instead of boolean flags.

  • Replaced boolean getStatic parameters with a GetAllType enum that supports Both, InstanceOnly, and StaticOnly member types
  • Simplified the IL2CPP member collection logic by removing complex field pointer matching and using unified method info pointer lookup
  • Updated all member collection calls to use the new enum-based API

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
RuntimeUnityEditor.Core/Utils/Extensions.cs Added GetAllType enum and refactored extension methods to use enum instead of boolean parameters
RuntimeUnityEditor.Core/Windows/Inspector/MemberCollector.cs Updated all member collection calls to use the new enum-based API
RuntimeUnityEditor.Core/Windows/Inspector/IL2CPP/MemberCollector.IL2CPP.cs Simplified IL2CPP pointer lookup logic and added inheritance check

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ManlyMarco ManlyMarco merged commit f341dc1 into master Oct 9, 2025
@ManlyMarco ManlyMarco deleted the fix-ptr branch October 9, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants