public ThumbstickHandler(XRNode node, float threshold, ThumstickDir thumstickDir, bool isReversed = false) : base(threshold, isReversed)
 {
     _inputString  = thumstickDir == ThumstickDir.Horizontal ? "Horizontal" : "Vertical";
     _inputString += node == XRNode.LeftHand ? "LeftHand" : "RightHand";
 }
Exemple #2
0
 public ThumbstickHandler(XRNode node, float threshold, ThumstickDir thumstickDir) : base(threshold)
 {
     _inputString  = thumstickDir == ThumstickDir.Horizontal ? "Horizontal" : "Vertical";
     _inputString += node == XRNode.LeftHand ? "LeftHand" : "RightHand";
     IsReversed    = PluginConfig.Instance.ReverseThumbstick;
 }