EditorGUIExtensions PersistentFoldout Method STUUI API Documentation V1.0.0
Draws a fold out which stays open or closed between editor sessions. Do not use in your scripts because it uses editor prefs in a specific namespace that only I am allowed to use ;-) don't blame me if you use it and the Universe collapses - you have been warned!

Namespace: NarayanaGames.UnityEditor.Common
Assembly: Assembly-CSharp-Editor (in Assembly-CSharp-Editor.dll) Version: 0.0.0.0
Syntax

public static bool PersistentFoldout(
	string label,
	string editorPrefsKey,
	bool def
)

Parameters

label
Type: OnlineSystem String
the label for the foldout
editorPrefsKey
Type: OnlineSystem String
the (unique) key for the editor prefs to store the state
def
Type: OnlineSystem Boolean
the default value (true means open, false means closed)

Return Value

the current foldout state
See Also