You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
909 B
C#
36 lines
909 B
C#
namespace SRDebugger.Services
|
|
{
|
|
using System;
|
|
|
|
public interface IDebugPanelService
|
|
{
|
|
/// <summary>
|
|
/// Is the debug panel currently loaded into the scene
|
|
/// </summary>
|
|
bool IsLoaded { get; }
|
|
|
|
/// <summary>
|
|
/// Get or set whether the debug pane should be visible
|
|
/// </summary>
|
|
bool IsVisible { get; set; }
|
|
|
|
/// <summary>
|
|
/// Currently active tab (if available in DefaultTabs, otherwise null)
|
|
/// </summary>
|
|
DefaultTabs? ActiveTab { get; }
|
|
|
|
event Action<IDebugPanelService, bool> VisibilityChanged;
|
|
|
|
/// <summary>
|
|
/// Force the debug panel to unload from the scene
|
|
/// </summary>
|
|
void Unload();
|
|
|
|
/// <summary>
|
|
/// Open the given tab
|
|
/// </summary>
|
|
/// <param name="tab"></param>
|
|
void OpenTab(DefaultTabs tab);
|
|
}
|
|
}
|