Playing Audio

ObjectNet allows to play audio clips, sound or event over network.

To play audio clips over network you need to use ObjectNet API you need to use the following code.

this.Audio.Play(this.runningAudioClip);

This method will play the selected audio track locally and send audio clip information on an event over the network to be played on network instances.

Note: You can do the same or create a custom synchronization by using your own event.