ITimeProxy.cs 486 B

12345678910111213141516171819
  1. namespace XGame.Framework.Time
  2. {
  3. /// <summary>
  4. /// TimeModule的代理
  5. /// 用于批量管理定时器
  6. /// </summary>
  7. public interface ITimeProxy : ITimeModule
  8. {
  9. /// <summary>
  10. /// 取消所有定时器
  11. /// </summary>
  12. void CancelAll();
  13. /// <summary>
  14. /// 设置所有定时器的timeScale
  15. /// </summary>
  16. /// <param name="TimeScale"></param>
  17. void SetAllTimeScales(float timeScale);
  18. }
  19. }