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