public static bool CompileMenuValidate() { StructComponentsGenerator.Init(); var isValid = Generator.IsValidToCompile(); return(isValid); }
private static void OnScriptsReloaded() { if (EditorApplication.isPlayingOrWillChangePlaymode == true) { return; } StructComponentsGenerator.Init(); Generator.OnAfterAssemblyReload(false); }
static StructComponentsGenerator() { AssemblyReloadEvents.afterAssemblyReload += StructComponentsGenerator.OnAfterAssemblyReload; if (StructComponentsGenerator.IsFirstLaunch() == true) { StructComponentsGenerator.SetFirstLaunch(); StructComponentsGenerator.OnAfterAssemblyReload(); } }
static StructComponentsGenerator() { AssemblyReloadEvents.afterAssemblyReload += StructComponentsGenerator.OnAfterAssemblyReload; UnityEditor.Compilation.CompilationPipeline.assemblyCompilationFinished += StructComponentsGenerator.AssemblyCompilationFinishedEventHandler; if (StructComponentsGenerator.IsFirstLaunch() == true) { StructComponentsGenerator.SetFirstLaunch(); StructComponentsGenerator.OnAfterAssemblyReload(); } }
public static bool AutoGenerateValidateFunc() { StructComponentsGenerator.Init(); return(Generator.AutoGenerateValidate()); }
public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { StructComponentsGenerator.Init(); Generator.OnPostprocessAllAssetsGen(importedAssets, deletedAssets, movedAssets, movedFromAssetPaths); }
public static void OnAfterAssemblyReload() { StructComponentsGenerator.Init(); Generator.OnAfterAssemblyReload(false); }
public static void CompileMenu() { StructComponentsGenerator.Init(); Generator.Compile(); }
public static void AutoGenerate() { StructComponentsGenerator.Init(); Generator.AutoGenerateCheck(); }
private static void OnScriptsReloaded() { StructComponentsGenerator.Init(); Generator.OnAfterAssemblyReload(false); }