- Языки
- Русский
- Английский
Облегчает воспроизведение звуков для разработчиков.
C#:
private bool API_AddSound(string name, string prefab) // Using - krySounds.Call<bool>("AddSound", name, soundPrefab); (Add sound to list)
private bool API_RemoveSound(string name) // Using - krySounds.Call<bool>("RemoveSound", name); (Remove sound from list)
private bool API_PlaySound(string name, BasePlayer target) // Using - krySounds.Call<bool>("PlaySound", name, player); (Play sound to selected player)
private Dictionary<string, bool> API_AddSoundList(Dictionary<string, string> sounds) // Using - krySounds.Call<bool>("AddSoundList", soundsDictionary); (Added more sounds, than AddSound)