IFade.cs 477 B

1234567891011121314151617181920
  1. using System;
  2. public interface IFade
  3. {
  4. float defaultFadeTime { get; }
  5. BaseFader.FadeState state { get; }
  6. bool isShow { get; }
  7. bool isHide { get; }
  8. bool isFadeNow { get; }
  9. bool StartFade(BaseFader.FadeType type, bool skippable = true, Func<float, bool> onUpdate = null, Action onCompleted = null);
  10. bool StartFade(BaseFader.FadeType type, float time, bool skippable = true, Func<float, bool> onUpdate = null, Action onCompleted = null);
  11. void FadeComplete();
  12. }