hello i get this error in line 16 and 22 and what i miss to work the code this it :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FMODEng : MonoBehaviour
{
FMOD.Studio.EventInstance CarEngine;
FMOD.Studio.PARAMETER_ID RPM;
FMOD.Studio.PARAMETER_ID AccelInput;
PG.CarController uvc;
void Awake()
{
FMOD.Studio.EventDescription RpmEventDescription;
CarEngine.getDescription(out, RpmEventDescription);
FMOD.Studio.PARAMETER_DESCRIPTION RpmParameterDescription;
RpmEventDescription.getParameterDescriptionByName("RPM", out RpmParameterDescription);
RPM = RpmParameterDescription.id;
FMOD.Studio.EventDescription AccelInputEventDescription;
CarEngine.getDescription(out, AccelInputEventDescription);
FMOD.Studio.PARAMETER_DESCRIPTION RpmParameterDescription;
AccelInputEventDescription.getParameterDescriptionByName("AccelInput", out AccelInputParameterDescription);
AccelInput = RpmParameterDescription.id;
uvc = GetComponent<PG.CarController>();
}
void Start()
{
FMODUnity.RuntimeManager.AttachInstanceToGameObject(CarEngine, GetComponent<Transform>(), GetComponent<RigidBody>());
CarEngine.start();
}
void FixedUpdate()
{
CarEngine.setParameterByID(RPM, uvc.EngineRPM);
}
void CheckAccel()
{
if(uvc.MinRPM >= uvc.EngineRPM)
{
CarEngine.setParameterByID(AccelInput, 0f);
}
else if(uvc.MinRPM <= uvc.EngineRPM)
{
CarEngine.setParameterByID(AccelInput, 1f);
}
}
}