Search Unity

Runtime sound effect import and share for a connected multiplayer game

Discussion in 'Multiplayer' started by Pete4242, Apr 30, 2020.

  1. Pete4242

    Pete4242

    Joined:
    Apr 28, 2020
    Posts:
    2
    This question has 2 parts. I am new to Unity and trying to understand Unity's runtime capability for importing audio and even perhaps images to include into a 2-player connected game.

    1. Is it possible to record and import a sound effect audio clip at runtime into a game? Use case example is the player records an audio clip from a phone's mic and import the clip as a collision sound effect in a game.

    2. Assuming 1. above is possible, is it then possible to share the captured sound effect with another player in a connected multi-player game. For example in a 2-player connected phone game player-1 records and imports a sound clip, then shares this clip with player-2 who can also import and use the imported sound effect. The import for player-2 could perhaps be automated or prompted to allow the import.

    Thanks,
    Pete