-
-
Notifications
You must be signed in to change notification settings - Fork 20
Merging #20 #23 #26 #27 #28 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
marc-antoine-girard
wants to merge
20
commits into
Thundernerd:main
from
marc-antoine-girard:Merging
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
02fb8a9
Update SerializableInterfacePropertyDrawer.cs
marc-antoine-girard c69d2e1
Clean up SerializableInterfacePropertyDrawer.cs
marc-antoine-girard ba10941
Update SerializableInterfacePropertyDrawer.cs
marc-antoine-girard d6e8d0b
Update SerializableInterfacePropertyDrawer.cs
marc-antoine-girard ae0f89f
Moved changes to RawReferenceDrawer
marc-antoine-girard 0a43f4e
Forgot a managedReferenceValue
marc-antoine-girard 9fd9c18
Added changes requested
marc-antoine-girard 8730e50
Added null check in RawReferenceDrawer
marc-antoine-girard 5b8bc58
Added NoneDropdownItem
marc-antoine-girard 4f98193
Small cleanup before PR
marc-antoine-girard 17040d0
Added proper properties in ReferenceDrawer.cs
marc-antoine-girard b3a5ccb
Merge branch '#24-Add-None-Option-CustomDrawers' into Merging
marc-antoine-girard b92d5ae
Merge branch '#21-Fix-NullReferenceException-RawReferenceDrawer' into…
marc-antoine-girard e3ecc45
Merge branch '#25-Fix-Setter-ReferenceDrawer' into Merging
marc-antoine-girard 5495d00
Fixed Drag and Drop behaviour
marc-antoine-girard 2199452
Merge branch '#22-Fix-DragAndDrop-ReferenceDrawer' into Merging
marc-antoine-girard 693da10
Update RawReferenceDrawer.cs
marc-antoine-girard 64c42a4
Update ReferenceDrawer.cs
marc-antoine-girard 5c45251
Forgot to set a ModeValue
marc-antoine-girard a400f57
Update ReferenceDrawer.cs PropertyValue setter
marc-antoine-girard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| using UnityEditor.IMGUI.Controls; | ||
|
|
||
| namespace TNRD.Items | ||
| { | ||
| public class NoneDropdownItem : AdvancedDropdownItem, IDropdownItem | ||
| { | ||
| private ReferenceMode mode => ReferenceMode.Raw; | ||
| public NoneDropdownItem() : base("None") { } | ||
|
|
||
| ReferenceMode IDropdownItem.Mode => mode; | ||
|
|
||
| public object GetValue() | ||
| { | ||
| return null; | ||
| } | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This property mirrors the behaviour of SerializableInterface.Value, but in the PropertyDrawer.