A* Pathfinding Project
4.3.2
The A* Pathfinding Project for Unity 3D
|
Editor helper for hiding and showing a group of GUI elements. More...
Editor helper for hiding and showing a group of GUI elements.
Call order in OnInspectorGUI should be:
Public Member Functions | |
FadeArea (bool open, Editor editor, GUIStyle areaStyle, GUIStyle labelStyle=null) | |
void | Begin () |
bool | BeginFade () |
void | End () |
void | Header (string label) |
void | Header (string label, ref bool open) |
void | HeaderLabel (string label) |
Public Attributes | |
bool | open |
Is this area open. More... | |
Static Public Attributes | |
static bool | fancyEffects |
Animate dropdowns when they open and close. More... | |
Private Member Functions | |
void | Tick () |
Static Private Member Functions | |
static float | Hermite (float start, float end, float value) |
Hermite spline interpolation. More... | |
Private Attributes | |
const float | animationSpeed = 100f |
GUIStyle | areaStyle |
Editor | editor |
GUIStyle | labelStyle |
Rect | lastRect |
float | lastUpdate |
float | value |
bool | visible |
FadeArea | ( | bool | open, |
Editor | editor, | ||
GUIStyle | areaStyle, | ||
GUIStyle | labelStyle = null |
||
) |
void Begin | ( | ) |
bool BeginFade | ( | ) |
void End | ( | ) |
void Header | ( | string | label | ) |
void Header | ( | string | label, |
ref bool | open | ||
) |
void HeaderLabel | ( | string | label | ) |
|
staticprivate |
Hermite spline interpolation.
|
private |
|
private |
|
private |
|
private |
|
static |
Animate dropdowns when they open and close.
|
private |
|
private |
|
private |
bool open |
Is this area open.
This is not the same as if any contents are visible, use BeginFade for that.
|
private |
|
private |