예제 #1
0
        // ---------------
        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);
        }
예제 #2
0
 // ----------------
 public SplitterTargetControlListInspector(GUIContent titleContent, TouchSplitter splitter) :
     base(titleContent, splitter, typeof(TouchControl), splitter.targetControlList)
 {
     this.splitter = splitter;
 }