コード例 #1
0
 public AxisHistory(KeyStroke keyStroke, float offsetTime, float newAxisThresholdMin, float newAxisThresholdMax) : base(keyStroke, offsetTime)
 {
     axisThresholdMin = newAxisThresholdMin;
     axisThresholdMax = newAxisThresholdMax;
 }
コード例 #2
0
 public KeyHistory(KeyStroke newKeyStroke, float newOffsetTime)
 {
     keyStroke          = newKeyStroke;
     offsetTime         = newOffsetTime;
     nextPressThreshold = Time.time - 1;
 }
コード例 #3
0
 public ButtonHistory(ButtonEventType newButtonEventType, KeyStroke newKeyStroke, float newOffsetTime) : base(newKeyStroke, newOffsetTime)
 {
     buttonEventType = newButtonEventType;
 }