Unity 5.1 UNET / Synchronize Audio over Network (Tutorial || English || HD+)

Zengy
Zengy
10.5 هزار بار بازدید - 9 سال پیش - (Keep in mind that this
(Keep in mind that this is my first video ever in English, so please be nice :D)
In this tutorial I will show you how to synchronize some AudioClips over the Unity-Network using Unitys` new networking system.

Content:
1. (00:00) Setup a basic network system
2. (03:44) Create a sound volume slider
3. (06:22) Write the main script
4. (12:30) Use our script

Explanation:
We have the same array of type AudioClip on every client. To play a clip we call a PlayClip method on the local player which then executes a command on the server to send the ID of the audiofile back to all the clients.

Got the audiofiles from: https://www.assetstore.unity3d.com/en...

Hope it helped :D + Sorry for the jumpcuts, wanted to keep it as short as possible...
9 سال پیش در تاریخ 1394/03/24 منتشر شده است.
10,567 بـار بازدید شده
... بیشتر