Skip to main content

Class LogAnalysisEditor

Custom editor for LogAnalysis that surfaces the data collection master switch state, so it is obvious in the inspector when the component will not run.

[CustomEditor(typeof(LogAnalysis))]
public sealed class LogAnalysisEditor : Editor

Inheritance​

Methods​

OnInspectorGUI()​

Implement this function to make a custom inspector.

public override void OnInspectorGUI()

RequiresConstantRepaint()​

Repaints continuously so the data collection warning reflects the setting as soon as it is toggled in the Project Settings window, without needing to reselect this object.

public override bool RequiresConstantRepaint()

Returns​

bool

  • Methods
    • OnInspectorGUI()
    • RequiresConstantRepaint()