This class lets you record sequences via input presses.
More...
|
| virtual void | Awake () |
| | On awake we initialize our recorder.
|
| virtual void | Start () |
| | On Start, starts a recording if needed.
|
| virtual void | Update () |
| | On update we look for key presses.
|
| virtual void | DetectStartAndEnd () |
| | Detects key presses for start and end recording actions.
|
| virtual void | DetectRecording () |
| | Look for key presses to write to the sequence.
|
This class lets you record sequences via input presses.
◆ AddNoteToTrack()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.AddNoteToTrack |
( |
MMSequenceTrack | track | ) |
|
|
virtual |
Adds a note to the specified track.
- Parameters
-
◆ Awake()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.Awake |
( |
| ) |
|
|
protectedvirtual |
On awake we initialize our recorder.
◆ DetectRecording()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.DetectRecording |
( |
| ) |
|
|
protectedvirtual |
Look for key presses to write to the sequence.
◆ DetectStartAndEnd()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.DetectStartAndEnd |
( |
| ) |
|
|
protectedvirtual |
Detects key presses for start and end recording actions.
◆ Initialization()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.Initialization |
( |
| ) |
|
|
virtual |
Makes sure we have a scriptable object to record to.
◆ Start()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.Start |
( |
| ) |
|
|
protectedvirtual |
On Start, starts a recording if needed.
◆ StartRecording()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.StartRecording |
( |
| ) |
|
|
virtual |
Clears the sequence if needed and starts recording.
◆ StopRecording()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.StopRecording |
( |
| ) |
|
|
virtual |
◆ Update()
| virtual void MoreMountains.Feedbacks.MMInputSequenceRecorder.Update |
( |
| ) |
|
|
protectedvirtual |
On update we look for key presses.
◆ _note
◆ _recordingStartedAt
| float MoreMountains.Feedbacks.MMInputSequenceRecorder._recordingStartedAt = 0f |
|
protected |
◆ AdditiveRecording
| bool MoreMountains.Feedbacks.MMInputSequenceRecorder.AdditiveRecording = false |
whether this recording should write on top of existing entries or not
◆ Recording
| bool MoreMountains.Feedbacks.MMInputSequenceRecorder.Recording |
whether this recorder is recording right now or not
◆ RecordingStartOffset
| float MoreMountains.Feedbacks.MMInputSequenceRecorder.RecordingStartOffset = 0f |
the offset to apply to entries
◆ RemoveInitialSilence
| bool MoreMountains.Feedbacks.MMInputSequenceRecorder.RemoveInitialSilence = true |
whether any silence between the start of the recording and the first press should be removed or not
◆ SequenceScriptableObject
| MMSequence MoreMountains.Feedbacks.MMInputSequenceRecorder.SequenceScriptableObject |
the target scriptable object to write to
◆ StartRecordingHotkey
| KeyCode MoreMountains.Feedbacks.MMInputSequenceRecorder.StartRecordingHotkey = KeyCode.Home |
the key binding for recording start
◆ StartRecordingOnGameStart
| bool MoreMountains.Feedbacks.MMInputSequenceRecorder.StartRecordingOnGameStart = false |
whether this recorder should start recording when entering play mode
◆ StopRecordingHotkey
| KeyCode MoreMountains.Feedbacks.MMInputSequenceRecorder.StopRecordingHotkey = KeyCode.End |
the key binding for recording stop
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacks/Sequencing/Scripts/MMInputSequenceRecorder.cs