예제 #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)
 {
 }