public void PushDown() { if (canPush && isInArea && !isPushing && !gameManager.IsPlayerDied && !gameManager.IsCreared) { //Debug.Log("引き寄せ開始"); mainHeartManager.CanAccel = true; lightning.isPlaying = true; lightning.EaseIn(0.25f); lightning.endPoint = this.transform.position; currentEndPos = this.transform.position; isPushing = true; //サウンド再生(すでに再生している場合はストップさせる) if (canMakeSound) { bgmManager.Stop(BGMPath.PULL_SOUND); bgmManager.FadeIn(BGMPath.PULL_SOUND, 1f); bgmManager.Play(BGMPath.PULL_SOUND, 0.4f, 0, 1, true); } //タッチ中のエフェクト再生 SetActivateTouchEffect(true); } }