You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.
You have two principal ways of playing a FeedbacksPlayer. The first of them is setting the component to Execute On Awake. If the setting is toggled, it will play at the moment the component is spawned.
The other way (and the most common) is doing it through script.
You just need to get a reference of the FeedbacksPlayer, and then call Play();
Once it's playing, you can:
Kill the feedback, so it instantly stops playing.
Complete the feedback, so it instantly reaches its final state.
Knowing when finished
To know if a FeedbacksPlayer has finished playing, you have two ways:
Using a System.Action, that you pass at the Play method