public void QueueLeftHand(ThrowableObject throwableObject) { if (!stackingIsAllowed) { if (leftHandObjects.Count > 0 && !inputController.LevelEnd) { // Trigger Timmy's animations for the failing m_Animator.SetTrigger("failC"); m_Animator.SetTrigger("failL"); m_Animator.SetTrigger("failR"); AkSoundEngine.PostEvent("failFeed_event", gameObject); //restart level StartLevel(currentLevel); StartCoroutine(_starManager.ResetStars(0f)); Debug.Log("Fail!!"); return; } } leftHandObjects.Enqueue(throwableObject); }