Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Modify Assembly-CSharp.dll before send to IL2CPP

$
0
0
this is a mirror quest to [this](https://stackoverflow.com/questions/4316147/modifying-assembly-instructions-before-loading) I want to insert some code stub to Assembly-CSharp.dll by using Mono.Cecil before send to il2cpp when build iOS player with batchmode. Currently, the only way I know is to wrap Unity\Editor\Data\Tools\UnusedByteCodeStripper2\UnusedBytecodeStripper2.exe to execute my patcher before real stripper. Is there any other better way like [DidReloadScripts] to do this? For Android, I can patch dlls after BuildPlayer. But for iOS with il2cpp, there is no dll generated before BuildPlayer.

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>