Skip to content

Allow static method injection#95

Open
limoka wants to merge 3 commits into
BepInEx:masterfrom
limoka:static-method-injection
Open

Allow static method injection#95
limoka wants to merge 3 commits into
BepInEx:masterfrom
limoka:static-method-injection

Conversation

@limoka

@limoka limoka commented Jun 10, 2023

Copy link
Copy Markdown
Contributor

This PR enables static methods to be injected. This mostly allows to pass such methods to il2cpp delegates, which can be useful in some cases.

My main use of this is for interacting with Burst compiler. It expects us to pass delegates pointing to valid il2cpp methods to consider them for Burst compilation.

I have tested these changes on Core Keeper Unity 2021.3.14.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants