Im trying to apply an FMOD playoneshot script to a Unity animation event and I am getting this error message:
Assets/Sample Assets/2D/Scripts/Playersounds.cs(9,36): error CS1501: No overload for method PlayOneShot' takes
1’ arguments
my code is
using UnityEngine;
using System.Collections;
public class Playersounds : MonoBehaviour {
public void PlayerFootsteps () //this is a method called PlayerFootsteps. this is called when the program starts
{
FMOD_StudioSystem.instance.PlayOneShot("event:/PLayerSteps");
}
}