-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
* Removed NaughtyAttributes / Upgraded Code to 2020.1 * Added NoLabel Property Drawers * Updated Changelog * Upgraded Logo to 2020.1 * Updated Site Banner * Updated Readme install instructions * Updated Package.json * Updated README instructions * Updated Changelog
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Photo by NordWood Themes on Unsplash | ||
https://unsplash.com/photos/wtevVfGYwnM |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using UnityEngine; | ||
using UnityEditor; | ||
|
||
namespace GameplayIngredients.Editor | ||
{ | ||
[CustomPropertyDrawer(typeof(NoLabelAttribute))] | ||
public class NoLabelPropertyDrawer : PropertyDrawer | ||
{ | ||
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) | ||
{ | ||
EditorGUIUtility.labelWidth = 0; | ||
EditorGUI.PropertyField(position, property, GUIContent.none); | ||
} | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.