常用方法
常用方法
常用方法
常用方法
private void ActOriginal(float positionY, TouchPhase phase) { float tapPosition = (startPosition - positionY) / (_camera.pixelHeight * 0.25f); ship.AccelerateBy(-tapPosition); }
private void ActOriginal(float positionY, TouchPhase phase) { float tapPosition = (startPosition - positionY) / (_camera.pixelHeight * 0.25f); ship.AccelerateBy(-tapPosition); }