Skip to content

Commit

Permalink
Disabled debug names generation in the unity editor
Browse files Browse the repository at this point in the history
  • Loading branch information
vanifatovvlad committed Jul 19, 2022
1 parent 0c7e14d commit 59a60bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeGen/AtomWeaverV2.cs
Expand Up @@ -59,7 +59,7 @@ public List<DiagnosticMessage> Weave(AssemblyDefinition assembly, out bool didAn
private void Prepare(AssemblyDefinition assembly)
{
_generateDebugNames = Helpers.GetCustomAttribute<AtomGenerateDebugNamesAttribute>(assembly) != null;
#if UNITY_EDITOR || UNIMOB_ATOM_GENERATE_DEBUG_NAMES
#if UNIMOB_ATOM_GENERATE_DEBUG_NAMES
_generateDebugNames = true;
#endif

Expand Down

0 comments on commit 59a60bb

Please sign in to comment.