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.CommonAssembly: Assembly-CSharp-Editor (in Assembly-CSharp-Editor.dll) Version: 0.0.0.0
Syntax
Parameters
- label
- Type: System String
the label for the foldout
- editorPrefsKey
- Type: System String
the (unique) key for the editor prefs to store the state
- def
- Type: System Boolean
the default value (true means open, false means closed)
Return Value
the current foldout stateSee Also