private void FixedUpdate() { LapTime = Mathf.Max(LapTime - Time.deltaTime, 0.0f); if (!CanAnimation) { return; } if (GameDataPresenter.IsPlayingAnimation) { return; } if (Input.GetAxis("Vertical") < 0) { GameDataPresenter.ToSelectingNext(); } if (Input.GetAxis("Vertical") > 0) { GameDataPresenter.ToSelectingPrev(); } if (GetAxis("Horizontal") > 0) { GameDataPresenter.ToSelectingFrameRight(); LapTime = reinputTime_s; } if (GetAxis("Horizontal") < 0) { GameDataPresenter.ToSelectingFrameLeft(); LapTime = reinputTime_s; } }
private void Update() { if (GameDataPresenter.IsPlayingAnimation) { return; } if (Input.GetButtonDown("Submit")) { GameDataPresenter.SwitchingExection(); } if (Input.GetButtonDown("Heart")) { GameDataPresenter.IncreaseHeartNum(); } if (Input.GetButtonDown("Discription")) { //詳細表示 GameDataPresenter.ExecuteDiscription(); } }