Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sanukin39/UniIosAudioService

Unity iOS plugin JUST playing iOS system sound
https://github.com/sanukin39/UniIosAudioService

Last synced: 2 months ago
JSON representation

Unity iOS plugin JUST playing iOS system sound

Awesome Lists containing this project

README

        

# UniIosAudioService
Unity iOS plugin JUST playing iOS system sound

## Description
Plugin to use ios system sound and vibration at Unity.

## Demo
This project has scene for checking all system sound(Assets/Example/Example.scene).

Note: The plugin do nothing at Unity Editor. Use iOS devices or simulator when you check the sound.

## Usage
1. Find system sound id you want to use at demo scene.
2. Send the id to the plugin in your project.

```csharp
int soundId = 1001;
UniIosAudioService.PlaySystemSound(soundId);
```

## Install
Use unitypackage at [releases page](https://github.com/sanukin39/UniIosAudioService/releases).

## Licence

[MIT](https://github.com/sanukin39/UniIosAudioService/blob/master/LICENSE)

## Author

[sanukin39](https://github.com/sanukin39)