public ControllerDefinition(ControllerDefinition source)
     : this()
 {
     Name = source.Name;
     BoolButtons.AddRange(source.BoolButtons);
     FloatControls.AddRange(source.FloatControls);
     FloatRanges.AddRange(source.FloatRanges);
     AxisConstraints.AddRange(source.AxisConstraints);
 }
Ejemplo n.º 2
0
 public ControllerDefinition(ControllerDefinition source)
     : this()
 {
     Name = source.Name;
     BoolButtons.AddRange(source.BoolButtons);
     AxisControls.AddRange(source.AxisControls);
     AxisRanges.AddRange(source.AxisRanges);
     AxisConstraints.AddRange(source.AxisConstraints);
     CategoryLabels = source.CategoryLabels;
 }
Ejemplo n.º 3
0
 public ControllerDefinition(ControllerDefinition source)
     : this()
 {
     Name = source.Name;
     BoolButtons.AddRange(source.BoolButtons);
     foreach (var kvp in source.Axes)
     {
         Axes.Add(kvp);
     }
     CategoryLabels = source.CategoryLabels;
 }