---
title: "Radio Player - s&box library"
description: "A complete radio streaming solution for s&box games. Includes a RadioManager component for managing audio streams, RadioStation"
canonical: "https://sbox.watch/ru/libraries/cyn/radioplayer/"
generated_at: "2026-10-09T10:52:13.487Z"
---

# Radio Player

A complete radio streaming solution for s&box games. Includes a RadioManager component for managing audio streams, RadioStation

- Тип: библиотека
- Идентификатор: cyn.radioplayer
- Автор: Cyn
- Канонический URL: https://sbox.watch/ru/libraries/cyn/radioplayer/
- Markdown: https://sbox.watch/ru/libraries/cyn/radioplayer/index.md
- sbox.game: https://sbox.game/cyn/radioplayer/
- Создано: 2026-10-09T10:52:13.487Z

## Статистика

- динамика за 24 ч: +0
- Terry Score: 43%
- Избранное: 1
- Положительные оценки: 2
- Отрицательные оценки: 0
- Обновлено: 16 апр. 2026 г.
- Создано: 15 апр. 2026 г.
- Размер: 12.9 KB
- Файлы: 9
- Теги: live, manager, player, radio, songs, stations, tracks, url

## Описание

Radio System 📻
Manages streaming audio playback with support for multiple stations, shuffle, and loop modes.
RadioStation 📻
Data class defining a radio station.

var station = new RadioStation( "Station Name", "https://stream.url", "Source" );
RadioManager 🎵
Component that handles playback of radio stations.

Properties
- Stations - List<RadioStation> (List of available stations).
- AutoPlay - bool (Play on scene start).
- DefaultVolume - float (Initial volume (0-1)).
- Shuffle - bool (Randomize track order).
- LoopStations - bool (Loop to first station after last).

Playback Methods
- Play() - Start playback
- Stop() - Stop playback
- PlayTrack(index) - Play specific station
- PlayNext() - Skip to next station
- PlayPrevious() - Go to previous station
- TogglePlayPause() - Pause/resume current track

Some has \[button\] so they can be used in the inspector

Events 📢
- OnPlayStateChanged - Fired when play/pause/stop changes
- OnTrackChanged - Fired when track changes

Usage ⚙️
Add a RadioManager.cs component to a GameObject, configure stations in the inspector, and call playback methods from UI or code.




## More by Cyn

| Package | Идентификатор | Игроки | Избранное | Положительные оценки | Оценка | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| s&box Editor Collaboration (EXP) | cyn.sbox_editor_collab | 0 | 2 | 5 | 65% | https://sbox.watch/ru/libraries/cyn/sbox_editor_collab/index.md |
