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
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
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/