Beispiel #1
0
 public VirtualStick(Input input, VirtualAxis.Overlaps overlapBehaviour, float circularDeadzone = 0f)
 {
     Horizontal       = new VirtualAxis(input, overlapBehaviour);
     Vertical         = new VirtualAxis(input, overlapBehaviour);
     CircularDeadzone = circularDeadzone;
 }
Beispiel #2
0
 public VirtualStick(Input input, VirtualAxis.Overlaps overlapBehaviour)
 {
     Horizontal = new VirtualAxis(input, overlapBehaviour);
     Vertical   = new VirtualAxis(input, overlapBehaviour);
 }