VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.Core.Attributes.FoldoutPropertyDrawer.NewGroup ( string  group_name,
SerializedProperty  prop 
)
inlineprivate

Definition at line 42 of file AVR_Attributes_PropertyDrawers.cs.

42  {
43  last_group = group_name;
44 
45  // Begin foldout
46  foldout = EditorGUILayout.Foldout(foldout, group_name);
47  EditorGUI.indentLevel++;
48  if (foldout) EditorGUILayout.PropertyField(prop, new GUIContent(prop.displayName));
49  EditorGUI.indentLevel--;
50 
52  }