Пример #1
0
        public static ActionMapInput Create(ActionMap actionMap)
        {
            ActionMapInput map =
                (ActionMapInput)Activator.CreateInstance(actionMap.customActionMapType, new object[] { actionMap });

            return(map);
        }
Пример #2
0
 public ActionMapInput GetActions(ActionMap actionMap)
 {
     // If already contains ActionMapInput based on this ActionMap, return that.
     for (int i = 0; i < maps.Count; i++)
     {
         if (maps[i].actionMap == actionMap)
         {
             return(maps[i]);
         }
     }
     return(null);
 }
Пример #3
0
        protected ActionMapInput(ActionMap actionMap)
        {
            m_ActionMap = actionMap;

            // Create list of controls from ActionMap.
            ////REVIEW: doesn't handle compounds
            var controls = new List <InputControlData>();

            foreach (var entry in actionMap.actions)
            {
                controls.Add(entry.controlData);
            }
            SetControls(controls);
        }
Пример #4
0
        protected ActionMapInput(ActionMap actionMap)
        {
            autoReinitialize     = true;
            resetOnActiveChanged = true;
            m_ActionMap          = actionMap;

            // Create list of controls from ActionMap.
            ////REVIEW: doesn't handle compounds
            var controls = new List <InputControlData>();

            foreach (var entry in actionMap.actions)
            {
                controls.Add(entry.controlData);
            }
            SetControls(controls);
        }
Пример #5
0
 public DirectSelectInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #6
0
 public LocomotionInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #7
0
 public WorkspaceInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #8
0
 public Default(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #9
0
 public TrackedObject(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #10
0
 public UndoMenuInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #11
0
 public TransformInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #12
0
 public VacuumInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #13
0
 public RadialMenuInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #14
0
 public JoystickLocomotion(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #15
0
 public BlinkLocomotion(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #16
0
 public ControlScheme(string name, ActionMap actionMap)
 {
     m_Name      = name;
     m_ActionMap = actionMap;
 }
Пример #17
0
 public ShowMenu(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #18
0
 public UIActions(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #19
0
 public AnnotationInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #20
0
 public SelectionInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #21
0
 public MiniWorldInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #22
0
 public SpatialMenuInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #23
0
 public Standard(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #24
0
 public ToolsMenuInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #25
0
 public ProxyAnimatorInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #26
0
 public MainMenuInput(ActionMap actionMap) : base(actionMap)
 {
 }
Пример #27
0
 public GrabbyLocomotion(ActionMap actionMap) : base(actionMap)
 {
 }