TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.Feedbacks.MMF_PlayerDebugInput Class Reference

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...

Inheritance diagram for MoreMountains.Feedbacks.MMF_PlayerDebugInput:

Public Attributes

KeyCode PlayButton = KeyCode.P
 the button used to cause a debug play of this feedback

Protected Member Functions

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.

Protected Attributes

MMF_Player _player

Detailed Description

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.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ _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