Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Time scale

Guillem SC edited this page Jan 7, 2021 · 7 revisions

Home >> Usage guide >> Time scale

Time scale

Sometimes, you may want to have FeedbackPlayer that makes use of a time scale value to change the general speed, in a simple and easy way. On each FeedbackPlayer, you can find the Use Time Scale toggle.

  • If enabled, the speed of the feedbacks will be affected by the time scale value found at JuceFeedbacks.TimeScale. You can easily change this value at any point. It is 1.0f by default.
  • If disabled, the speed of the feedback won't be affected by any time scale.

FeedbackPlayers are never affected by the Unity's time scale, since under the hood we are always using Time.unscaledDeltaTime.

Clone this wiki locally