Loading files
using System;
using UnityEngine;
using UnityEditor;
namespace Unity.Simulation.VehicleControllers
{
[CustomEditor(typeof(DifferentialAuthoring))]
public class DifferentialAuthoringEditor : Editor
{
public override void OnInspectorGUI()
{
EditorGUI.BeginChangeCheck();
DrawDefaultInspector();
if (EditorGUI.EndChangeCheck() && target is DifferentialAuthoring differentialAuthoring)
differentialAuthoring.SetupArticulations();
}
}
}
b8d1e1d4cThis file is pinned to the selected release. Download the original to open it in your design tool.