if(manager==null)// If the VOManager object can't be found
{
Debug.LogError("Could not play voiceline because a VOManager wasn't found in the scene. Check that a VOManager object is present and has the correct tag.");
if(manager==null)// If the VOManager object can't be found
{
Debug.LogError("Could not play voiceline because a VOManager wasn't found in the scene. Check that a VOManager object is present and has the correct tag.");
if(manager==null)// If the VOManager object can't be found
{
Debug.LogError("Could not play voiceline because a VOManager wasn't found in the scene. Check that a VOManager object is present and has the correct tag.");
returnnewResult(true,null);
}
else
{
returnnewResult(!manager.isPlaying(),null);
returnnewResult(!manager.isPlaying(),null);// The sensor check is validated if the VOManager is not playing any voiceline currently