61 Commits

Author SHA1 Message Date
Makihiro
f781ad7373 Fixed a bug when trying to deserialize a null type with FromJson. 2024-02-16 21:58:38 +09:00
Makihiro
e5a5157b3c
Merge pull request #48 from JohannesDeml/bugfix/propertydrawer-allow-inheritance
Add logic to check for inherited PropertyDrawers from base classes and interfaces
2024-02-16 20:53:46 +09:00
Johannes Deml
c9b5193e51
Fix use prefixLabel position right away 2024-02-07 19:31:33 +01:00
Johannes Deml
a8bcece352 Fix label overlapping button
By drawing the label first we avoid the overlap. By drawing just the label without the foldout we need to work around a unity problem with indentation and apply that ourselves. The foldout property will then be rendered without gui content
2024-01-17 14:40:52 +01:00
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
github-actions[bot]
93d7e13f62 feat: Update package.json to 1.2.1 2024-01-10 07:02:25 +00:00
Makihiro
d061f748b8 Fix compatibility for less than Unity 2021.3 2024-01-10 15:58:31 +09:00
github-actions[bot]
d2d5c8ed52 feat: Update package.json to 1.2.0 2023-12-31 09:27:46 +00:00
Makihiro
6ae47efa1d Update package.json 2023-12-31 18:24:42 +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
github-actions[bot]
cdcbbedf21 feat: Update package.json to 1.1.9 2023-08-19 13:00:01 +00:00
mackysoft
9a319eab39 Update Example.cs 2023-08-19 21:44:16 +09:00
mackysoft
f2f150da79 Fix Example 2023-08-19 21:42:57 +09:00
mackysoft
6e1d1487da Add Example 2023-08-19 21:36:51 +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
396e4a2c30 Merge branch 'main' into fix/custom-property-drawer-not-applied 2023-08-19 19:31:24 +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
github-actions[bot]
d25349977a feat: Update package.json to 1.1.8 2023-08-17 14:21:24 +00:00
mackysoft
435001a8d0 Fix multi editing error 2023-08-17 22:15:28 +09:00
github-actions[bot]
aedc9ba824 feat: Update package.json to 1.1.7 2022-08-30 14:10:03 +00: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
github-actions[bot]
ed7e30f8ae feat: Update package.json to 1.1.6 2022-04-11 11:46:10 +00:00
mackysoft
9b8a61429b Delete Samples~.meta 2022-04-11 20:39:17 +09:00
github-actions[bot]
7a8f7b1e6a feat: Update package.json to 1.1.5 2022-04-10 04:47:20 +00: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
Makihiro
3c0cf411e0
Merge pull request #17 from mackysoft/support-package-samples
Fixed some problems with package samples.
2022-04-10 13:40:47 +09:00
Makihiro
31f4901e7f
Merge pull request #16 from mackysoft/fix/repaint-immediately
`serializedObject.Update()` is now called when an item is selected
2022-04-10 13:40:32 +09:00
mackysoft
9061c68ab7 SubclassSelector is now support a concrete base class. 2022-04-10 13:37:51 +09:00
mackysoft
e2a6600118 Fixed missing assembly references in GetStarted example. 2022-04-10 13:21:50 +09:00
mackysoft
060d3bd797 Add UNITY_2019_3_OR_NEWER define constraits to MackySoft.SerializeReferenceExtensions.Example.GetStarted.asmdef 2022-04-10 13:20:21 +09:00
mackysoft
605ffca3ab Renamed folder from Samples to Samples~ 2022-04-10 11:20:23 +09:00
mackysoft
a92b8ee7d8 Update Example 2022-04-10 11:17:47 +09:00
mackysoft
368bae3cdc serializedObject.Update() is now called when an item is selected 2022-03-29 20:58:30 +09:00
github-actions[bot]
1f0206e3cc feat: Update package.json to 1.1.4 2022-03-29 10:58:48 +00: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
github-actions[bot]
28ce93d8fc feat: Update package.json to 1.1.3 2022-03-28 14:21:42 +00: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
e7a8195f17 Update ExampleEditor.cs 2022-03-05 02:15:38 +09:00
mackysoft
112b5f9457 Add ExamplEditor
Needed to reproduce issue
2022-03-05 02:04:22 +09:00
mackysoft
f8b317ba20 Optimize drawing SubclassSelector 2022-03-05 02:00:34 +09:00
github-actions[bot]
a10a5b90e4 feat: Update package.json to 1.1.2 2021-12-31 02:31:37 +00:00