ICompileEvent.cs 349 B

1234567891011121314151617
  1. 
  2. namespace XGame.Editor.Compiler
  3. {
  4. public struct CompileResult
  5. {
  6. public bool isFailed;
  7. public string message;
  8. public bool isCopyAssemblyFailed;
  9. }
  10. public interface ICompileEvent
  11. {
  12. int Priority { get; }
  13. void OnCompileFailed(CompileResult result);
  14. void OnCompileSuccess();
  15. }
  16. }