/// <summary>Gets the Unity provided set of compiler flags.</summary> public static string GetFlags(bool editor) { string[] flags = EditorUserBuildSettings.activeScriptCompilationDefines; FlagSet set = new FlagSet(flags); set.EditorMode(editor); return(set.ToString()); }
/// <summary>Gets the Unity provided set of compiler flags.</summary> public static string GetFlags(bool editor){ string[] flags=EditorUserBuildSettings.activeScriptCompilationDefines; FlagSet set=new FlagSet(flags); set.EditorMode(editor); return set.ToString(); }