x


Hit Save on MonoDevelop activates Unity compiler

Is there a way to make Unity compile the code when I hit the save the document on MonoDevelop? I want to have a faster compiling process and I'm save addicted...

more ▼

asked Jul 30 '11 at 07:24 PM

roberto_sc gravatar image

roberto_sc
232 9 11 16

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Unity reimports changed assets when it gets focus, so just switching over to Unity and then back to MonoDevelop will start the compile (you don't have to wait for it to finish before switching back). You could presumably write a MonoDevelop plugin to do this for you, but it seems like the sort of thing that would take more time than it would save. :-) Compiling after changes to C# code is generally very very fast.... I've got tens of thousands of lines of code in my Unity project, and the latency when editing a file and then switching back to Unity is under a second.

more ▼

answered Jul 30 '11 at 07:53 PM

sneftel gravatar image

sneftel
1.7k 7 9 20

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1730
x398
x56

asked: Jul 30 '11 at 07:24 PM

Seen: 903 times

Last Updated: Jul 30 '11 at 07:53 PM