{"id":2338,"date":"2013-08-23T19:40:53","date_gmt":"2013-08-23T16:40:53","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=2338"},"modified":"2013-08-24T00:35:16","modified_gmt":"2013-08-23T21:35:16","slug":"custompropertydrawer-in-c","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2013\/08\/23\/custompropertydrawer-in-c\/","title":{"rendered":"CustomPropertyDrawer in C#"},"content":{"rendered":"<p>Unable to find any complete _and_ working basic C# example of custom propertyDrawer usage.. Oo?<\/p>\n<p>(adding some example here once I find\/get it working..)<\/p>\n<p><strong>Resources:<\/strong><br \/>\n&#8211; Intro on PropertyDrawers : <a title=\"http:\/\/blogs.unity3d.com\/2012\/09\/07\/property-drawers-in-unity-4\/\" href=\"http:\/\/blogs.unity3d.com\/2012\/09\/07\/property-drawers-in-unity-4\/\" target=\"_blank\">http:\/\/blogs.unity3d.com\/2012\/09\/07\/property-drawers-in-unity-4\/<\/a> (but getting lots of errors from those samples.. &#8220;The type or namespace name `Popup&#8217; could not be found.&#8221; ..)<br \/>\n&#8211; About PropertyDrawer and PropertyAttribute : <a title=\"http:\/\/angrytroglodyte.net\/home\/index.php\/how-we-do-it\/tech-blog\/75-making-unity-work-for-you\" href=\"http:\/\/angrytroglodyte.net\/home\/index.php\/how-we-do-it\/tech-blog\/75-making-unity-work-for-you\" target=\"_blank\">http:\/\/angrytroglodyte.net\/home\/index.php\/how-we-do-it\/tech-blog\/75-making-unity-work-for-you<\/a><br \/>\n&#8211; Some partial examples : <a title=\"http:\/\/qiita.com\/kyusyukeigo\/items\/8be4cdef97496a68a39d\" href=\"http:\/\/qiita.com\/kyusyukeigo\/items\/8be4cdef97496a68a39d\" target=\"_blank\">http:\/\/qiita.com\/kyusyukeigo\/items\/8be4cdef97496a68a39d<\/a><br \/>\n&#8211; One somewhat working example : <a title=\"http:\/\/mwegner.com\/misc\/InspectorNoteExample.zip\" href=\"http:\/\/mwegner.com\/misc\/InspectorNoteExample.zip\" target=\"_blank\">http:\/\/mwegner.com\/misc\/InspectorNoteExample.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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: &#8211; Intro on PropertyDrawers : http:\/\/blogs.unity3d.com\/2012\/09\/07\/property-drawers-in-unity-4\/ (but getting lots of errors from those samples.. &#8220;The type or namespace name `Popup&#8217; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[148,3],"tags":[68,541,543,542],"class_list":["post-2338","post","type-post","status-publish","format-standard","hentry","category-help","category-unity3d","tag-c","tag-custompropertydrawer","tag-example","tag-source"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-BI","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/2338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=2338"}],"version-history":[{"count":12,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/2338\/revisions"}],"predecessor-version":[{"id":2350,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/2338\/revisions\/2350"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}