1 using System.Collections;
2 using System.Collections.Generic;
8 [CustomEditor(typeof(AC_BaseAirplane_Input))]
15 #region Builtin Methods
19 public override void OnInspectorGUI()
21 base.OnInspectorGUI();
23 string debugInfo =
"";
24 debugInfo +=
"Pitch : "+ targetInput.Pitch +
"\n";
25 debugInfo +=
"Roll : "+ targetInput.Roll+
"\n";
26 debugInfo +=
"Yaw : "+ targetInput.Yaw+
"\n";
27 debugInfo +=
"Throttle : "+ targetInput.Throttle+
"\n";
28 debugInfo +=
"Brake : "+ targetInput.Brake+
"\n";
29 debugInfo +=
"Flaps : "+ targetInput.Flaps+
"\n";
30 debugInfo +=
"Sticky Throttle "+targetInput.StickyThrottle+
"\n";
34 EditorGUILayout.TextArea(debugInfo, GUILayout.Height(120));