//! \endcond // ------------------ public TouchControl() : base() { this.disablingConditions = new DisablingConditionSet(null); //this.hidingConditions = new HidingConditions(); this.animatorList = new List <TouchControlAnimatorBase>(2); this.swipeOverTargetList = new List <TouchControl>(2); }
// ----------------------- public DisablingConditionSetInspector(GUIContent titleContent, DisablingConditionSet target, InputRig rig, Object undoObject) { this.undoObject = undoObject; this.titleContent = titleContent; this.target = target; this.switchListInsp = new DisablingRigSwitchSetInspector(target, rig, undoObject); }
// ------------------- public DisablingRigSwitchSetInspector(DisablingConditionSet target, InputRig rig, Object undoObject, string title = "Disabling Switches", string actionName = "Disable") : base(undoObject, target.switchList) { this.title = title; this.actionName = actionName; this.isFoldedOut = true; this.isFoldable = false; this.rig = rig; this.Rebuild(); }