Set the preprocess like DEBUG in the untiy Edit ide

需要设置预编译

比如#if DEBUG ,在visual studio 中,开发微软的项目,已经内置了这个预编译,但是untiy不一样,

方法1:

可以在每个文件第一行设置#define DEBUG

方法2:

可以设置全局的预编译

edit--〉project setting--〉player

方法3:

visaul studio 项目右键属性 ,build

posted @ 2014-07-03 18:11  penney  阅读(129)  评论(0)    收藏  举报