x


#if UNITY ?

I see a number of preprocessor symbols listed at http://unity3d.com/support/documentation/Manual/Platform%20Dependent%20Compilation.html, but I don't see a catch-all UNITY symbol.

I would like to share some C# source code between Unity and a Visual Studio project, but would prefer there to be a UNITY symbol I can #if against for in Unity/MonoDevelop. Am I not seeing a known symbol, or is there a way to add this symbol to both Unity and MonoDevelop?

more ▼

asked Aug 11 '11 at 06:50 AM

DuckMaestro gravatar image

DuckMaestro
31 2 4 5

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

0 answers: sort voted first
Be the first one to answer this question
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:

x4135
x376
x74
x62
x11

asked: Aug 11 '11 at 06:50 AM

Seen: 2440 times

Last Updated: Aug 19 '11 at 11:06 PM