Class FadeArea

Public

Editor helper for hiding and showing a group of GUI elements.

Call order in OnInspectorGUI should be:

  • Begin

  • Header/HeaderLabel (optional)

  • BeginFade

  • [your gui elements] (if BeginFade returns true)

  • End

Public Methods

Begin ()
Public
BeginFade ()
Public
End ()
Public
FadeArea (open, editor, areaStyle, labelStyle=null)
Public
Header (label, open)
Public
Header (label)
Public
HeaderLabel (label)
Public

Public Variables

open

Is this area open.

Public

Public Static Variables

fancyEffects

Animate dropdowns when they open and close.

Public Static

Private/Protected Members

Hermite (start, end, value)

Hermite spline interpolation.

Private Static
Tick ()
Private
animationSpeed
Private Static
areaStyle
Private
editor
Private
labelStyle
Private
lastRect
Private
lastUpdate
Private
value
Private
visible
Private