23
2013
CustomPropertyDrawer in C#
Unable to find any complete _and_ working basic C# example of custom propertyDrawer usage.. Oo?
(adding some example here once I find/get it working..)
Resources:
– Intro on PropertyDrawers : http://blogs.unity3d.com/2012/09/07/property-drawers-in-unity-4/ (but getting lots of errors from those samples.. “The type or namespace name `Popup’ could not be found.” ..)
– About PropertyDrawer and PropertyAttribute : http://angrytroglodyte.net/home/index.php/how-we-do-it/tech-blog/75-making-unity-work-for-you
– Some partial examples : http://qiita.com/kyusyukeigo/items/8be4cdef97496a68a39d
– One somewhat working example : http://mwegner.com/misc/InspectorNoteExample.zip
Related Posts
12 Comments + Add Comment
Leave a comment to mgear
Recent posts
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
- Detect SRP (URP or HDRP) with Assembly Definition Version Defines
- [LudumDare57] Theme: Depths
- MotionVector Effect: Object “disappears” when paused
Recent Comments
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












Tooltips Property Drawer
http://forum.unity3d.com/threads/211461-Tooltips-Property-Drawer
Drag and Drop Support For custom editor code.
http://forum.unity3d.com/threads/223242-Drag-and-Drop-in-the-editor-Explanation
angle property drawer:
http://forum.unity3d.com/threads/236359-Angle-property-drawer
Property Backing Field Drawer:
http://adammechtley.com/2014/06/property-backing-field-drawer/
collection of small reusable Unity3D property drawers
https://github.com/tenpn/ChestOfPropertyDrawers
property-drawer-collection
https://github.com/anchan828/property-drawer-collection
(FREE) ShowEmAll: Extensive set of property drawers. Serialize interfaces, generics, auto-properties:
http://forum.unity3d.com/threads/free-showemall-extensive-set-of-property-drawers-serialize-interfaces-generics-auto-properties.266165/
new version of that,
(FREE) VFM: Full set of drawers. Serialize interfaces, generics, auto-properties, delegates
http://forum.unity3d.com/threads/free-vfm-full-set-of-drawers-serialize-interfaces-generics-auto-properties-delegates.266165/
Property Backing Field Drawer (free)
https://www.assetstore.unity3d.com/en/#!/content/18253
“HideIfNotSet.cs”
http://forum.unity3d.com/threads/in-unity-public-variables-can-be-seen-in-the-inspector-right-see-inside-for-details.267498/#post-1767917
Property Drawers & Custom Inspectors (incoming live tutorial)
http://unity3d.com/learn/live-training/session/property-drawers-custom-inspectors
serialize any type in Unity (Dictionaries, nested lists, etc):
http://forum.unity3d.com/threads/20-lines-to-serialize-any-type-in-unity-dictionaries-nested-lists-etc.349222/