Table of Contents

Class ErrorReportWindow

Namespace
nadena.dev.ndmf.ui
public sealed class ErrorReportWindow : EditorWindow
Inheritance
ErrorReportWindow

Fields

DISABLE_WINDOW

public static bool DISABLE_WINDOW

Field Value

bool

Properties

CurrentAvatar

Gets or sets the avatar corresponding to the error report being displayed. On set, the window will search for a corresponding error report; if not found, a UI offering to run a test build will be shown instead of the error contents.

public GameObject CurrentAvatar { get; set; }

Property Value

GameObject

CurrentReport

Gets or sets the error report currently being displayed. May be null if no error report has been generated yet. Setting this will update CurrentAvatar, pointing to the avatar that originated the error report (or null if it can't be found).

public ErrorReport CurrentReport { get; set; }

Property Value

ErrorReport

Methods

ShowErrorReportWindow()

Shows the error report window, displaying the last error report generated.

public static void ShowErrorReportWindow()

ShowReport(GameObject)

Shows the error report window, displaying a specific avatar and its error report (if any).

public static void ShowReport(GameObject avatarRoot)

Parameters

avatarRoot GameObject

ShowReport(ErrorReport)

Shows the error report window, displaying a specific error report.

public static void ShowReport(ErrorReport report)

Parameters

report ErrorReport