// --------------- public override void OnInspectorGUI() { TouchSplitter c = (TouchSplitter)this.target; this.DrawWarnings(c); GUILayout.Box(GUIContent.none, CFEditorStyles.Inst.headerTouchSplitter, GUILayout.ExpandWidth(true)); // Steering Wheel specific inspector.... InspectorUtils.BeginIndentedSection(new GUIContent("Target Controls")); this.targetControlListInsp.DrawGUI(); InspectorUtils.EndIndentedSection(); // Draw Shared Touch Control Params... this.DrawTouchContolGUI(c); }
// ---------------- public SplitterTargetControlListInspector(GUIContent titleContent, TouchSplitter splitter) : base(titleContent, splitter, typeof(TouchControl), splitter.targetControlList) { this.splitter = splitter; }