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

需要设置预编译
比如#if DEBUG ,在visual studio 中,开发微软的项目,已经内置了这个预编译,但是untiy不一样,
方法1:
可以在每个文件第一行设置#define DEBUG
方法2:
可以设置全局的预编译
edit--〉project setting--〉player

方法3:
visaul studio 项目右键属性 ,build
