Exemple #1
0
        private void ActOriginal(float positionY, TouchPhase phase)
        {
            float tapPosition = (startPosition - positionY) / (_camera.pixelHeight * 0.25f);

            ship.AccelerateBy(-tapPosition);
        }