/// <summary> /// 判断是否倾倒液体 /// </summary> public void Pour() { angleCheck = Vector3.Angle(transform.up, volcano.transform.up); if (angleCheck >= 90 && angleCheck <= 180) { volcanoManager.RayCheck(checkTran); //particle.gameObject.SetActive(true); particle.Play(); particle.AudioPlay(); } else { volcanoManager.timerCount = 0; isPouring = false; particle.Stop(); //particle.gameObject.SetActive(false); } }