Exemplo n.º 1
0
 public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
 {
     foreach (var importedAsset in deletedAssets)
     {
         if (importedAsset.EndsWith(".cs") == true && importedAsset.EndsWith("aot.compiler.gen.cs") == false)
         {
             AOTGenerator.OnAfterAssemblyReload(delete: true);
             return;
         }
     }
 }
Exemplo n.º 2
0
 private static void OnScriptsReloaded()
 {
     AOTGenerator.OnAfterAssemblyReload(delete: false);
 }