LittleCodingFox / Unity-CSharp-Mod

Native C# Modding support for Unity
MIT License
13 stars 4 forks source link

Mono Compiler #1

Open z3t0 opened 8 years ago

z3t0 commented 8 years ago

Hi,

In the readme you stated that the mono compiler needs to be in the same folder as the project, where can I get the mono compiler? Can you please provide a path? Thanks!

z3t0 commented 8 years ago

Yep. I was going to use a small snippet that checks if the class can be attached to a gameobject and if not then to just load it directly

On Friday, 8 July 2016, Nuno Silva notifications@github.com wrote:

You can just make a list of all Types that subclass Monobehaviour

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/LittleCodingFox/Unity-CSharp-Mod/issues/1#issuecomment-231326875, or mute the thread https://github.com/notifications/unsubscribe/AIlUfeBWAyaOkInlIv407ciBBmOHYBj9ks5qTiVCgaJpZM4JD1cp .

Thanks, Rafi Khan

LittleCodingFox commented 8 years ago

You can just use LINQ to filter through the types. Check what I do when I'm done loading the assembly.