Add this debug component to a MMF Player, and you'll be able to play it at runtime at the press of a (customisable) key, useful when tweaking or debugging your feedbacks.
More...
|
| KeyCode | PlayButton = KeyCode.P |
| | the button used to cause a debug play of this feedback
|
|
| virtual void | Awake () |
| | On Awake we store our MMF Player.
|
| virtual void | Update () |
| | On Update, we play our feedback if the right button is pressed.
|
Add this debug component to a MMF Player, and you'll be able to play it at runtime at the press of a (customisable) key, useful when tweaking or debugging your feedbacks.
◆ Awake()
| virtual void MoreMountains.Feedbacks.MMF_PlayerDebugInput.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake we store our MMF Player.
◆ Update()
| virtual void MoreMountains.Feedbacks.MMF_PlayerDebugInput.Update |
( |
| ) |
|
|
protectedvirtual |
On Update, we play our feedback if the right button is pressed.
◆ _player
| MMF_Player MoreMountains.Feedbacks.MMF_PlayerDebugInput._player |
|
protected |
◆ PlayButton
| KeyCode MoreMountains.Feedbacks.MMF_PlayerDebugInput.PlayButton = KeyCode.P |
the button used to cause a debug play of this feedback
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacks/Core/MMF_Player/MMF_PlayerDebugInput.cs