private void Start() { voiceActingEvent = FMODUnity.RuntimeManager.CreateInstance(voiceActingEventString); voiceActingEvent.start(); //if(Input.GetKeyDown(KeyCode.S)) //{ captain.ChangeName("captain_0"); captain.StartPlayback(); //} }
// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.P)) { //spawn players randomly foreach (DancePlayback dancer in dancers) { dancer.StartPlayback(); musicTransition.setValue(1f); } captain.StartPlayback(); player.RecordMovementLogic.StartRecording(); } }