Method StartEngine
StartEngine()
Coroutine to play the ignition sound.
Declaration
public IEnumerator StartEngine()
Returns
Type | Description |
---|---|
IEnumerator |
Examples
Call it from your MonoBehaviour script as such:
StartCoroutine(engineAudio.StartEngine());