Class MarsCompareTool
Tool for comparing MARS conditions and relations to data in the Simulation View
Namespace: Unity.MARS
Syntax
public class MarsCompareTool : EditorTool
Properties
toolbarIcon
Declaration
public override GUIContent toolbarIcon { get; }
Property Value
Type | Description |
---|---|
GUIContent |
Methods
DrawComponentControls(Condition, Int32)
Draw comparison UI that goes after a condition's own properties
Declaration
public static void DrawComponentControls(Condition condition, int selectionIndex = 0)
Parameters
Type | Name | Description |
---|---|---|
Condition | condition | The condition to compare with |
Int32 | selectionIndex | The index into the selection comparison data |
DrawControls(Editor)
Draw controls for starting, stopping, including, and optimizing simulation controls
Declaration
public static void DrawControls(Editor editor)
Parameters
Type | Name | Description |
---|---|---|
Editor | editor | The editor drawing the controls |
IsAvailable()
Declaration
public override bool IsAvailable()
Returns
Type | Description |
---|---|
Boolean |
OnDisable()
Declaration
public void OnDisable()