コード例 #1
0
 /// <summary>
 ///   <see cref="EditorGUILayout.PropertyField" />
 /// </summary>
 /// <param name="property">The property.</param>
 /// <param name="label">The label.</param>
 /// <param name="options">The options.</param>
 /// <returns>
 /// True if the property has children and is expanded and includeChildren was set to false; otherwise false.
 /// </returns>
 public bool EditorGUILayoutPropertyFieldCustomizable(ISerializedPropertyWrapper property, GUIContent label, GUILayoutOption[] options)
 {
     return(EditorGUILayout.PropertyField(property.GetProperty(), label, options));
 }
コード例 #2
0
 /// <summary>
 ///   <see cref="EditorGUILayout.PropertyField" />
 /// </summary>
 /// <param name="property">The property.</param>
 /// <param name="label">The label.</param>
 /// <returns>
 /// True if the property has children and is expanded and includeChildren was set to false; otherwise false.
 /// </returns>
 public bool EditorGUILayoutPropertyField(ISerializedPropertyWrapper property, GUIContent label)
 {
     return(EditorGUILayout.PropertyField(property.GetProperty(), label, GUILayout.ExpandWidth(true)));
 }