mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-06-10 22:20:40 +02:00
feat: sounds effects (click on button, win and death) (#67)
This commit is contained in:
@ -8,6 +8,7 @@ public class TestManager : MonoBehaviour
|
||||
public Transform spawnPoint;
|
||||
public GameObject editorUI;
|
||||
public PlayerCamera playerCamera;
|
||||
public AudioSource sfxSource;
|
||||
|
||||
private bool isTesting = false;
|
||||
|
||||
@ -27,7 +28,7 @@ public class TestManager : MonoBehaviour
|
||||
else
|
||||
{
|
||||
gameMode = new NormalGameMode();
|
||||
((NormalGameMode)gameMode).editMode = true;
|
||||
currentPlayer.editMode = true;
|
||||
currentPlayer.ChangeGameMode(gameMode);
|
||||
currentPlayer.SpeedMultiplier = 0f;
|
||||
|
||||
|
Reference in New Issue
Block a user