Method Play
Play(String)
Use an open audio source to play the clip
Declaration
RideID Play(string clip)
Parameters
Type | Name | Description |
---|---|---|
System.String | clip | The name of the audio clip to play |
Returns
Type | Description |
---|---|
RideID | The audio souce that is playing the clip |
Play(RideID, String)
Use the given source to play the clip
Declaration
RideID Play(RideID source, string clip)
Parameters
Type | Name | Description |
---|---|---|
RideID | source | The audio source that will play the clip |
System.String | clip | The name of the audio clip to play |
Returns
Type | Description |
---|---|
RideID | The audio souce that is playing the clip |