Added EditorGUILayout.Foldout helper

Fixing compilation for editor-specific code