FMOD.Studio.PARAMETER_DESCRIPTION paramDesc; eventDescription.getParameterDescriptionByIndex(0, out paramDesc);
Debug.Log(paramDesc.name);
returns for the name: Fmod stringwrapper
I can’t seem to figure out how aceess the actual name?
FMOD.Studio.PARAMETER_DESCRIPTION paramDesc; eventDescription.getParameterDescriptionByIndex(0, out paramDesc);
Debug.Log(paramDesc.name);
returns for the name: Fmod stringwrapper
I can’t seem to figure out how aceess the actual name?
You can either cast the StringWrapper to a String:
Debug.Log((string)paramDesc.name);
Or it contains an implicit assign operator:
string name = paramDesc.name;
Debug.Log(name);