Infinite Runner Engine v1.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.Feedbacks.MMInputSequenceRecorderEditor Class Reference

Custom editor for sequence recorder More...

Inheritance diagram for MoreMountains.Feedbacks.MMInputSequenceRecorderEditor:

Public Member Functions

override bool RequiresConstantRepaint ()
 Forces constant inspector repaints More...
 
override void OnInspectorGUI ()
 Draws the custom inspector More...
 

Protected Member Functions

virtual void OnEnable ()
 On enable we initialize our styles and listen for input in editor mode More...
 
virtual void EditorGlobalKeyPress ()
 Looks for input More...
 
virtual void DetectStartAndEnd ()
 Detects presses on the start or end keys More...
 
virtual void EditorDetectRecording ()
 Looks for key presses on sequence key bindings More...
 

Protected Attributes

SerializedProperty _Recording
 
float _inspectorWidth
 
int _externalMargin = 10
 
Rect _rect
 
Color _recordingColor = Color.red
 
Color _recordingTextColor = Color.white
 
Vector2 _boxPosition
 
Vector2 _boxSize
 
GUIStyle _recordingStyle
 
MMInputSequenceRecorder _targetRecorder
 
Event _currentEvent
 

Detailed Description

Custom editor for sequence recorder

Member Function Documentation

◆ DetectStartAndEnd()

virtual void MoreMountains.Feedbacks.MMInputSequenceRecorderEditor.DetectStartAndEnd ( )
protectedvirtual

Detects presses on the start or end keys

◆ EditorDetectRecording()

virtual void MoreMountains.Feedbacks.MMInputSequenceRecorderEditor.EditorDetectRecording ( )
protectedvirtual

Looks for key presses on sequence key bindings

◆ EditorGlobalKeyPress()

virtual void MoreMountains.Feedbacks.MMInputSequenceRecorderEditor.EditorGlobalKeyPress ( )
protectedvirtual

Looks for input

◆ OnEnable()

virtual void MoreMountains.Feedbacks.MMInputSequenceRecorderEditor.OnEnable ( )
protectedvirtual

On enable we initialize our styles and listen for input in editor mode

◆ OnInspectorGUI()

override void MoreMountains.Feedbacks.MMInputSequenceRecorderEditor.OnInspectorGUI ( )

Draws the custom inspector

◆ RequiresConstantRepaint()

override bool MoreMountains.Feedbacks.MMInputSequenceRecorderEditor.RequiresConstantRepaint ( )

Forces constant inspector repaints

Returns

Member Data Documentation

◆ _boxPosition

Vector2 MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._boxPosition
protected

◆ _boxSize

Vector2 MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._boxSize
protected

◆ _currentEvent

Event MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._currentEvent
protected

◆ _externalMargin

int MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._externalMargin = 10
protected

◆ _inspectorWidth

float MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._inspectorWidth
protected

◆ _Recording

SerializedProperty MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._Recording
protected

◆ _recordingColor

Color MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._recordingColor = Color.red
protected

◆ _recordingStyle

GUIStyle MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._recordingStyle
protected

◆ _recordingTextColor

Color MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._recordingTextColor = Color.white
protected

◆ _rect

Rect MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._rect
protected

◆ _targetRecorder

MMInputSequenceRecorder MoreMountains.Feedbacks.MMInputSequenceRecorderEditor._targetRecorder
protected

The documentation for this class was generated from the following file: