A class handling the lifecycle of the balls included in the MMFeedbacks demo It waits for 2 seconds after the spawn of the ball, and destroys it, playing a MMFeedbacks while it does so
More...
A class handling the lifecycle of the balls included in the MMFeedbacks demo It waits for 2 seconds after the spawn of the ball, and destroys it, playing a MMFeedbacks while it does so
◆ ProgrammedDeath()
virtual IEnumerator MoreMountains.Feedbacks.DemoBall.ProgrammedDeath |
( |
| ) |
|
|
protectedvirtual |
Waits for 2 seconds, then kills the ball object after having played the MMFeedbacks
- Returns
◆ Start()
virtual void MoreMountains.Feedbacks.DemoBall.Start |
( |
| ) |
|
|
protectedvirtual |
On start, we trigger the programmed death of the ball
◆ DeathFeedback
MMFeedbacks MoreMountains.Feedbacks.DemoBall.DeathFeedback |
the feedback to play when the ball dies
◆ LifeSpan
float MoreMountains.Feedbacks.DemoBall.LifeSpan = 2f |
the duration (in seconds) of the life of the ball
The documentation for this class was generated from the following file:
- F:/Github/Store/TopDownEngine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/Demos/MMFeedbacksDemo/Scripts/DemoBall.cs