sabresaurus / Remote-Actions

Call custom code snippets in deployed Unity builds
MIT License
7 stars 2 forks source link

Remote script evaluation #1

Open friuns2 opened 6 years ago

friuns2 commented 6 years ago

if you know Immediate window in visual studio, could you add this feature to sidekick? .net can evaluate scripts at runtime so its should be doable.

The Immediate window is used to debug and evaluate expressions, execute statements, print variable values, and so forth.

sabresaurus commented 6 years ago

I believe this would require Reflection.Emit which is not supported by IL2CPP. Alternatively perhaps this could be done with CodeDomProvider. I'm not familiar enough with these forms of code generation to know if they will work with iOS builds for example (where IL2CPP is the only option). If someone has experience or advice your comments would be appreciated.