Class MarsCompareTool | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class MarsCompareTool

    Tool for comparing MARS conditions and relations to data in the Simulation View

    Inheritance
    Object
    MarsCompareTool
    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()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023