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)
Public
Header (label, open)
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

animationSpeed
Private
areaStyle
Private
editor
Private
Hermite (start, end, value)

Hermite spline interpolation.

Private Static
labelStyle
Private
lastRect
Private
lastUpdate
Private
Tick ()
Private
value
Private
visible
Private