예제 #1
0
    void Update()
    {
        if (IsPlaying)
        {
            if (_isTransing)
            {
                return;
            }

            if (Input.GetKeyDown("return") || WiimoteManager.GetSwing(_wmNum))
            {
                ChangeFanPoint(_isRequestShake ? 1 : -1);
                ParticleManager.Play(_isRequestShake ? "DanceNowClear" : "DanceNowFailed", new Vector3(), transform);
            }
            _danceUI.SetPointUpdate(_dancePoint);
        }
    }