コード例 #1
0
 private void Start()
 {
     voiceActingEvent = FMODUnity.RuntimeManager.CreateInstance(voiceActingEventString);
     voiceActingEvent.start();
     //if(Input.GetKeyDown(KeyCode.S))
     //{
     captain.ChangeName("captain_0");
     captain.StartPlayback();
     //}
 }
コード例 #2
0
ファイル: GameManager.cs プロジェクト: mattwcook/Soran-Bushi
    // 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();
        }
    }