IPinnedOptionsService.cs 495 B

12345678910111213141516171819
  1. using UnityEngine;
  2. namespace SRDebugger.Services
  3. {
  4. using System;
  5. using Internal;
  6. public interface IPinnedUIService
  7. {
  8. event Action<OptionDefinition, bool> OptionPinStateChanged;
  9. event Action<RectTransform> OptionsCanvasCreated;
  10. bool IsProfilerPinned { get; set; }
  11. void Pin(OptionDefinition option, int order = -1);
  12. void Unpin(OptionDefinition option);
  13. void UnpinAll();
  14. bool HasPinned(OptionDefinition option);
  15. }
  16. }