Restore C# method caching in Editor 1d7ba2210a

This commit is contained in:
Wojtek Figat
2023-09-28 12:09:56 +02:00
parent 15377acc25
commit 7cc6163a38

View File

@@ -1967,7 +1967,7 @@ namespace Flax.Build.Bindings
}
contents.Append(')').AppendLine();
contents.Append(" {").AppendLine();
if (buildData.Target.IsEditor)
if (buildData.Target.IsEditor && false)
contents.Append(" MMethod* method = nullptr;").AppendLine(); // TODO: find a better way to cache event method in editor and handle C# hot-reload
else
contents.Append(" static MMethod* method = nullptr;").AppendLine();