よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
private void checkScore() { if (score % 5 == 0 && score != 0 && score <= 80) { speedControl = Physics.gravity.y + Physics.gravity.y * 0.173f; Physics.gravity = new Vector3(0, speedControl, 0); PlatformGenerator.IncreaseSpeed(); } else if (score >= 68) { Physics.gravity = new Vector3(0, speedControl + 2f, 0); } }