TopDown Engine  v4.1
MoreMountains.Tools.FloatControllerEditor Class Reference

Custom editor for the FloatController, conditional hiding and dropdown fill More...

Inheritance diagram for MoreMountains.Tools.FloatControllerEditor:

Public Member Functions

override bool RequiresConstantRepaint ()
 
override void OnInspectorGUI ()
 Draws a custom conditional inspector More...
 

Protected Member Functions

virtual void OnEnable ()
 On enable, grabs our serialized properties More...
 
virtual void OnDisable ()
 
virtual void BindPropertyName ()
 
virtual void VerifyChosenIndex ()
 
virtual void OnAfterAssemblyReload ()
 
virtual void DrawLevelProgressBar (Rect position, float level, Color frontColor, Color negativeColor)
 

Protected Attributes

SerializedProperty _TargetObject
 
SerializedProperty _Curve
 
SerializedProperty _MinValue
 
SerializedProperty _MaxValue
 
SerializedProperty _Duration
 
SerializedProperty _PingPongPauseDuration
 
SerializedProperty _Amplitude
 
SerializedProperty _Frequency
 
SerializedProperty _Shift
 
SerializedProperty _RemapNoiseValues
 
SerializedProperty _RemapNoiseZero
 
SerializedProperty _RemapNoiseOne
 
SerializedProperty _OneTimeDuration
 
SerializedProperty _OneTimeAmplitude
 
SerializedProperty _OneTimeRemapMin
 
SerializedProperty _OneTimeRemapMax
 
SerializedProperty _OneTimeCurve
 
SerializedProperty _DisableAfterOneTime
 
SerializedProperty _DisableGameObjectAfterOneTime
 
SerializedProperty _OneTimeButton
 
SerializedProperty _DrivenLevel
 
SerializedProperty _ToDestinationValue
 
SerializedProperty _ToDestinationDuration
 
SerializedProperty _ToDestinationCurve
 
SerializedProperty _DisableAfterToDestination
 
SerializedProperty _ToDestinationButton
 
SerializedProperty _InitialValue
 
SerializedProperty _CurrentValue
 
SerializedProperty _CurrentValueNormalized
 
SerializedProperty _ChoiceIndex
 
SerializedProperty _PropertyName
 
SerializedProperty _AudioAnalyzer
 
SerializedProperty _BeatID
 
SerializedProperty _AudioAnalyzerMode
 
SerializedProperty _NormalizedLevelID
 
SerializedProperty _AudioAnalyzerMultiplier
 
Rect _barRect
 
Color _mmYellow = new Color(1f, 0.7686275f, 0f)
 
Color _mmRed = MMColors.Orangered
 
Color _progressBarBackground = new Color(0, 0, 0, 0.5f)
 

Static Protected Attributes

const int _lineHeight = 20
 
const int _lineMargin = 2
 
const int _numberOfLines = 1
 

Detailed Description

Custom editor for the FloatController, conditional hiding and dropdown fill

Member Function Documentation

◆ BindPropertyName()

virtual void MoreMountains.Tools.FloatControllerEditor.BindPropertyName ( )
protectedvirtual

◆ DrawLevelProgressBar()

virtual void MoreMountains.Tools.FloatControllerEditor.DrawLevelProgressBar ( Rect  position,
float  level,
Color  frontColor,
Color  negativeColor 
)
protectedvirtual

◆ OnAfterAssemblyReload()

virtual void MoreMountains.Tools.FloatControllerEditor.OnAfterAssemblyReload ( )
protectedvirtual

◆ OnDisable()

virtual void MoreMountains.Tools.FloatControllerEditor.OnDisable ( )
protectedvirtual

◆ OnEnable()

virtual void MoreMountains.Tools.FloatControllerEditor.OnEnable ( )
protectedvirtual

On enable, grabs our serialized properties

◆ OnInspectorGUI()

override void MoreMountains.Tools.FloatControllerEditor.OnInspectorGUI ( )

Draws a custom conditional inspector

◆ RequiresConstantRepaint()

override bool MoreMountains.Tools.FloatControllerEditor.RequiresConstantRepaint ( )

◆ VerifyChosenIndex()

virtual void MoreMountains.Tools.FloatControllerEditor.VerifyChosenIndex ( )
protectedvirtual

Member Data Documentation

◆ _Amplitude

SerializedProperty MoreMountains.Tools.FloatControllerEditor._Amplitude
protected

◆ _AudioAnalyzer

SerializedProperty MoreMountains.Tools.FloatControllerEditor._AudioAnalyzer
protected

◆ _AudioAnalyzerMode

SerializedProperty MoreMountains.Tools.FloatControllerEditor._AudioAnalyzerMode
protected

◆ _AudioAnalyzerMultiplier

SerializedProperty MoreMountains.Tools.FloatControllerEditor._AudioAnalyzerMultiplier
protected

◆ _barRect

Rect MoreMountains.Tools.FloatControllerEditor._barRect
protected

◆ _BeatID

SerializedProperty MoreMountains.Tools.FloatControllerEditor._BeatID
protected

◆ _ChoiceIndex

SerializedProperty MoreMountains.Tools.FloatControllerEditor._ChoiceIndex
protected

◆ _CurrentValue

SerializedProperty MoreMountains.Tools.FloatControllerEditor._CurrentValue
protected

◆ _CurrentValueNormalized

SerializedProperty MoreMountains.Tools.FloatControllerEditor._CurrentValueNormalized
protected

◆ _Curve

SerializedProperty MoreMountains.Tools.FloatControllerEditor._Curve
protected

◆ _DisableAfterOneTime

SerializedProperty MoreMountains.Tools.FloatControllerEditor._DisableAfterOneTime
protected

◆ _DisableAfterToDestination

SerializedProperty MoreMountains.Tools.FloatControllerEditor._DisableAfterToDestination
protected

◆ _DisableGameObjectAfterOneTime

SerializedProperty MoreMountains.Tools.FloatControllerEditor._DisableGameObjectAfterOneTime
protected

◆ _DrivenLevel

SerializedProperty MoreMountains.Tools.FloatControllerEditor._DrivenLevel
protected

◆ _Duration

SerializedProperty MoreMountains.Tools.FloatControllerEditor._Duration
protected

◆ _Frequency

SerializedProperty MoreMountains.Tools.FloatControllerEditor._Frequency
protected

◆ _InitialValue

SerializedProperty MoreMountains.Tools.FloatControllerEditor._InitialValue
protected

◆ _lineHeight

const int MoreMountains.Tools.FloatControllerEditor._lineHeight = 20
staticprotected

◆ _lineMargin

const int MoreMountains.Tools.FloatControllerEditor._lineMargin = 2
staticprotected

◆ _MaxValue

SerializedProperty MoreMountains.Tools.FloatControllerEditor._MaxValue
protected

◆ _MinValue

SerializedProperty MoreMountains.Tools.FloatControllerEditor._MinValue
protected

◆ _mmRed

Color MoreMountains.Tools.FloatControllerEditor._mmRed = MMColors.Orangered
protected

◆ _mmYellow

Color MoreMountains.Tools.FloatControllerEditor._mmYellow = new Color(1f, 0.7686275f, 0f)
protected

◆ _NormalizedLevelID

SerializedProperty MoreMountains.Tools.FloatControllerEditor._NormalizedLevelID
protected

◆ _numberOfLines

const int MoreMountains.Tools.FloatControllerEditor._numberOfLines = 1
staticprotected

◆ _OneTimeAmplitude

SerializedProperty MoreMountains.Tools.FloatControllerEditor._OneTimeAmplitude
protected

◆ _OneTimeButton

SerializedProperty MoreMountains.Tools.FloatControllerEditor._OneTimeButton
protected

◆ _OneTimeCurve

SerializedProperty MoreMountains.Tools.FloatControllerEditor._OneTimeCurve
protected

◆ _OneTimeDuration

SerializedProperty MoreMountains.Tools.FloatControllerEditor._OneTimeDuration
protected

◆ _OneTimeRemapMax

SerializedProperty MoreMountains.Tools.FloatControllerEditor._OneTimeRemapMax
protected

◆ _OneTimeRemapMin

SerializedProperty MoreMountains.Tools.FloatControllerEditor._OneTimeRemapMin
protected

◆ _PingPongPauseDuration

SerializedProperty MoreMountains.Tools.FloatControllerEditor._PingPongPauseDuration
protected

◆ _progressBarBackground

Color MoreMountains.Tools.FloatControllerEditor._progressBarBackground = new Color(0, 0, 0, 0.5f)
protected

◆ _PropertyName

SerializedProperty MoreMountains.Tools.FloatControllerEditor._PropertyName
protected

◆ _RemapNoiseOne

SerializedProperty MoreMountains.Tools.FloatControllerEditor._RemapNoiseOne
protected

◆ _RemapNoiseValues

SerializedProperty MoreMountains.Tools.FloatControllerEditor._RemapNoiseValues
protected

◆ _RemapNoiseZero

SerializedProperty MoreMountains.Tools.FloatControllerEditor._RemapNoiseZero
protected

◆ _Shift

SerializedProperty MoreMountains.Tools.FloatControllerEditor._Shift
protected

◆ _TargetObject

SerializedProperty MoreMountains.Tools.FloatControllerEditor._TargetObject
protected

◆ _ToDestinationButton

SerializedProperty MoreMountains.Tools.FloatControllerEditor._ToDestinationButton
protected

◆ _ToDestinationCurve

SerializedProperty MoreMountains.Tools.FloatControllerEditor._ToDestinationCurve
protected

◆ _ToDestinationDuration

SerializedProperty MoreMountains.Tools.FloatControllerEditor._ToDestinationDuration
protected

◆ _ToDestinationValue

SerializedProperty MoreMountains.Tools.FloatControllerEditor._ToDestinationValue
protected

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