Ryle Radio 1.0.0
An open-source "radio" system for Unity, allowing tracks, tuning, broadcasters, and more!
Loading...
Searching...
No Matches
IStationTrack.cs
1
2namespace RyleRadio.Tracks
3{
4 /// <summary>
5 /// A RadioTrack that can be played as part of a station.
6 /// </summary>
7 /// <remarks>This may end up being useless in future if all tracks can be used as part of a station- currently only other \ref StationRadioTrack s don't have this (so you can't nest stations) but that could be changed in future.</remarks>
8 /// <example><code>
9 /// public class MyCustomTrack : RadioTrack, IStationTrack { ... }</code></example>
10 public interface IStationTrack : IRadioTrack
11 {
12 /// <summary>
13 /// Whether or not this track is part of a station.
14 /// </summary>
15 public bool IsInStation { get; set; }
16 }
17
18}
Internal interface for a RadioTrack.
A RadioTrack that can be played as part of a station.
bool IsInStation
Whether or not this track is part of a station.
Tracks to be used on a radio- includes base classes.
Definition RadioUtils.cs:20