コード例 #1
0
 private void PlayerMove(Vector3 pos)
 {
     transform.DOJump(pos, 0.5f, 1, 0.1f, true);
     _terrainGeneration.SpawnTerrain(false, _position);
     AudioSource.PlayClipAtPoint(jumpSound, transform.position);
 }