# Unity 5 & Engine Designer

**URL:** <https://qa.fmod.com/t/unity-5-engine-designer/13154>\
**Category:** Unity\
**Created:** [May 4, 2017, 9:05am UTC](https://qa.fmod.com/t/unity-5-engine-designer/13154 "2017-05-04T09:05:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![3ncrypt0](https://avatars.discourse-cdn.com/v4/letter/3/ed8c4c/32.png) [@3ncrypt0](https://qa.fmod.com/u/3ncrypt0)\
**Post date:** [May 4, 2017, 9:05am UTC](https://qa.fmod.com/t/unity-5-engine-designer/13154/1 "2017-05-04T09:05:06Z")

</div>

Hey guys,

I did setup an engine event in fmod with the rpm & load parameter. So, in fmod it works fine. Now, I have implemented fmod into my Unity project and I want to use the awesome engine sound, but it doesn’t works…ok, I can hear the engine sound but without the engine designer power. There is no delay on throttle.

Here is my first code:

```
public class SoundController : MonoBehaviour {

public float _rpm = 1000;

FMODUnity.StudioEventEmitter emitter;
// Use this for initialization
void Start () {
    startSound();
    emitter = this.GetComponent<FMODUnity.StudioEventEmitter>();
    GetComponent<FMODUnity.StudioParameterTrigger>().TriggerParameters();
}

// Update is called once per frame
void Update () {
    updateRPM(10000* PlayerControllerInput.Instance.getThrottle);
}

public void startSound()
{
    GetComponent<FMODUnity.StudioEventEmitter>().Play();
}

public void stopSound()
{
    GetComponent<FMODUnity.StudioEventEmitter>().Stop();
}

public void updateRPM(float rpm)
{
    emitter.SetParameter("RPM", rpm);
}

```

}

I attached the Studio Event Emitter Script to my GameObject, selected my event, checked the rpm & load parameter and I attached the Studio Parameter Trigger Script…

I didn’t find an answer to my problem. Can someone help me? Or does the power of the engine designer not work in Unity?

I have looked into this video:

Ok, it is an UE4 tutorial. She can select some more Scripts…

Thanks & Cheers

---

<div class="post-metadata">

**Author:** ![3ncrypt0](https://avatars.discourse-cdn.com/v4/letter/3/ed8c4c/32.png) [@3ncrypt0](https://qa.fmod.com/u/3ncrypt0)\
**Post date:** [May 4, 2017, 9:10am UTC](https://qa.fmod.com/t/unity-5-engine-designer/13154/2 "2017-05-04T09:10:30Z")

</div>

> [@](#):
>
> Hey guys,
> 
> I did setup an engine event in fmod with the rpm & load parameter. So, in fmod it works fine. Now, I have implemented fmod into my Unity project and I want to use the awesome engine sound, but it doesn’t works…ok, I can hear the engine sound but without the engine designer power. There is no delay on throttle.
> 
> Here is my first code:
> 
> ```
> public class SoundController : MonoBehaviour {
> 
> public float _rpm = 1000;
> 
> FMODUnity.StudioEventEmitter emitter;
> // Use this for initialization
> void Start () {
> startSound();
> emitter = this.GetComponent<FMODUnity.StudioEventEmitter>();
> GetComponent<FMODUnity.StudioParameterTrigger>().TriggerParameters();
> }
> 
> // Update is called once per frame
> void Update () {
> updateRPM(10000* PlayerControllerInput.Instance.getThrottle);
> }
> 
> public void startSound()
> {
> GetComponent<FMODUnity.StudioEventEmitter>().Play();
> }
> 
> public void stopSound()
> {
> GetComponent<FMODUnity.StudioEventEmitter>().Stop();
> }
> 
> public void updateRPM(float rpm)
> {
> emitter.SetParameter("RPM", rpm);
> }
> 
> ```
> 
> }
> 
> I attached the Studio Event Emitter Script to my GameObject, selected my event, checked the rpm & load parameter and I attached the Studio Parameter Trigger Script…
> 
> I didn’t find an answer to my problem. Can someone help me? Or does the power of the engine designer not work in Unity?
> 
> I have looked into this video:
> 
> [https://www.youtube.com/watch?v=BI7EwpEIHuY](https://www.youtube.com/watch?v=BI7EwpEIHuY)
> 
> Ok, it is an UE4 tutorial. She can select some more Scripts…
> 
> Thanks & Cheers

Or do I have to integrate my own delay controller?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 5, 2017, 5:55am UTC](https://qa.fmod.com/t/unity-5-engine-designer/13154/3 "2017-05-05T05:55:18Z")

</div>

Engine Designer is only usable for auditioning in Studio.

You will have to make any delays yourself.
