public void TouchEnd(SlideTouchData touchData) { if (_isHolding && touchData.fingerId == _holdingFingerId) { _isHolding = false; _isStillHolding = false; if (state != State.Hidden) { BattleController.GetInstance ().NoteAccuracyProcessor (NoteTarget.Accuracy.Perfect, "slide"); } else { BattleController.GetInstance ().NoteAccuracyProcessor (NoteTarget.Accuracy.Bad, "slide"); } } }
public void TouchStart(SlideTouchData touchData) { if (state != State.Hidden) { _isHolding = true; _isStillHolding = true; _holdingFingerId = touchData.fingerId; } else { // no slide note right now } }