|
There is a source using iPhoneKeyboard, but uses PC use and both for iPhone. Because it is troublesome to change a source one by one, both want to go in the same source, but an error appears in a part of iPhoneKeyboard when I build with a PC. When I build with a PC, I want to build in defiance of the above, but is there a method? By the way, if it is C++ By the above, I can take it off. How will you do it in Unity? It may be a rudimentary question, but thank you
(comments are locked)
|
|
Please see: http://unity3d.com/support/documentation/Manual/Platform%20Dependent%20Compilation.html which explains how to ifdef code in Unity. You are splendid. I thank you.
Nov 08 '11 at 03:41 AM
fukachan
(comments are locked)
|

You need to be clearer than that.
What error appears?
You can check the platform with Application.platform to detect that.