Commit Graph

25 Commits

Author SHA1 Message Date
Johannes Deml 70f2cdaf16 Add logic to check for inherited PropertyDrawers from base classes and interfaces
This way an inherited drawer will be used if it exists, which might not be too uncommon in the case of SerializeReference fields
2024-01-17 13:27:49 +01:00
Makihiro d061f748b8 Fix compatibility for less than Unity 2021.3 2024-01-10 15:58:31 +09:00
Makihiro 343d930155 Merge pull request #42 from mackysoft/feature/copy-paste-property
Implement copy and paste property
2023-12-31 17:44:18 +09:00
Makihiro 15a627bd48 Add CopyAndPasteProperty 2023-12-31 17:39:48 +09:00
Makihiro cdbc2daf21 Restore values from json on create new managed reference 2023-12-31 16:00:13 +09:00
mackysoft 7a458add5d Fix layout 2023-08-19 21:28:14 +09:00
mackysoft 80b67bce51 GetType null check 2023-08-19 21:27:58 +09:00
mackysoft b3b65ee8e5 SubclassSelectorDrawer support now custom property drawer 2023-08-19 19:31:12 +09:00
mackysoft 92c16eda3b Add PropertyDrawerCache 2023-08-19 19:30:43 +09:00
mackysoft 435001a8d0 Fix multi editing error 2023-08-17 22:15:28 +09:00
Makihiro ac191b642d Merge pull request #22 from yellowisher/improve/force_nesting
Force nesting when there is any sub menu in AddTypeMenu attribute.
2022-08-30 23:01:10 +09:00
yellowisher 04920fadb7 Use menu name or type name as tie breaker. 2022-08-25 00:00:59 +09:00
yellowisher 1f76157be0 Force nesting when there is any sub menu in AddTypeMenu attribute. 2022-08-25 00:00:26 +09:00
Makihiro 81ed9e73e7 Merge pull request #18 from mackysoft/support-concrete-base-class
`SubclassSelector` is now support a concrete base class.
2022-04-10 13:45:46 +09:00
mackysoft 9061c68ab7 SubclassSelector is now support a concrete base class. 2022-04-10 13:37:51 +09:00
mackysoft 368bae3cdc serializedObject.Update() is now called when an item is selected 2022-03-29 20:58:30 +09:00
chadefranklin 1abb5d7e35 Assign result
Fixed bug where clicking on type selection button the first time leads to error.
2022-03-28 20:46:01 -04:00
Makihiro 55a071abe9 Merge pull request #7 from mackysoft/fix/subclassselector-drawing-overhead
Improve `SubclassSelectorDrawer` performance
2022-03-28 23:06:54 +09:00
mackysoft 4cdcf995f6 Remove unnecessary namespaces 2022-03-28 23:06:11 +09:00
mackysoft d730a1cdb1 Update AdvancedTypePopup.cs 2022-03-05 11:50:53 +09:00
mackysoft f4cfd057cc Items are now listed directly in the root when there is only one namespace. 2022-03-05 11:39:41 +09:00
mackysoft f8b317ba20 Optimize drawing SubclassSelector 2022-03-05 02:00:34 +09:00
mackysoft b9ad9838ae Removed class constraints.
Removed class constraints. This allows the use of structs.
2021-12-31 11:03:50 +09:00
mackysoft 6dc9fbcaae Improved performance of SubclassSelectorDrawer
# Changed
- `SubclassSelectorDrawer` now caches the display name of type.
- `SubclassSelectorDrawer` now finds the type via `UnityEditor.TypeCache`.
2021-05-18 01:22:16 +09:00
mackysoft f06e681251 Initial commit 2021-04-06 01:09:47 +09:00