Esempio n. 1
0
//! \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);
        }
Esempio n. 2
0
        // -----------------------
        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);
        }
Esempio n. 3
0
            // -------------------
            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();
            }