1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-21 01:36:03 +08:00

35 Commits

Author SHA1 Message Date
Emre Dogan
7ec429ba77 Changed node rendering. Header and Body (and optionally ports) sections are separate images. Allows more customizability.
Updated Node Editor Preferences window. Better separators. Added additional appearance options.
Removed Rounding in GridToWindowPositionNoClipped() (and DrawGrid()) which was originally meant to fix UI Sharpness. But it did not have impact in my case and without it made panning feel much smoother.
2023-10-08 07:05:11 +01:00
Emre Dogan
bfcef1ed34 Fixed broken namespaces. 2023-10-05 20:10:15 +01:00
Emre Dogan
b3465b269e Simple refactoring. 2023-10-05 18:34:58 +01:00
Kailey Joanette
f1cbe6191d Limit AdvancedGenericMenu to UNITY_2019_1_OR_NEWER 2021-12-26 15:12:46 -05:00
Kailey Joanette
3666509002 Advanced Generic menu that can be searched 2021-12-25 13:07:43 -05:00
Thor Brigsted
891ecebc3f Put NodeEditorReflection into its own static class 2019-07-24 10:04:05 +02:00
Thor Brigsted
8e0bd964ad Fixed #107 - OnValidate
OnValidate is now called on rename as well.
Removed outdated OnValidate fix. It probably never worked anyway.
2019-07-01 09:58:47 +02:00
Hao Wu
f8ba6339c8 Added validation support for Context Menu items (#162)
* Added validation support for Context Menu items
2019-06-26 10:25:01 +02:00
Woland
7eaa15af4a NodeEditorReflection: Catch ReflectionTypeLoadException (#131)
* NodeEditorReflection: Catch ReflectionTypeLoadException

Can happen if dll can not be loaded for some reason

* Removed unnecessary editor precompile tags
2019-04-14 03:21:29 +02:00
Thor Brigsted
3a8ae366f2 Fixed #103
Similar issue as #100

GetField was not returning private fields. The method now not only looks for private fields, but also fields inside inherited classes
2019-02-16 03:06:25 +01:00
Thor Brigsted
84e2af7916 Cleanup
Postfixed attribute classes with Attribute
Added Attributes region
2019-02-16 01:32:52 +01:00
Simon Rodriguez
3b18ca9b02 FetchSettingsProviders has been removed in 2018.3.0f2.
Now preferences is opened like this.
2018-12-15 14:33:34 +01:00
Thor Brigsted
5b11e81027
Move context menu functions around to allow more customization (#87)
Moved NodeEditorWindow.ShowNodeContextMenu to NodeEditor.AddContextMenuItems
Moved NodeEditorWindow.ShowGraphContextMenu to NodeGraphEditor.AddContextMenuItems
Moved NodeEditorWindow.CreateNode to NodeGraphEditor.CreateNode
2018-12-15 12:40:16 +01:00
Thor Brigsted
35861d20c6 Focus xNode in preferences window in >= 2018.3 2018-11-13 00:04:00 +01:00
Thor Brigsted
604365ce67 Unity 2018.3 support 2018-11-07 20:24:33 +01:00
Thor Brigsted
b9bd67bd28 Cleanup
Removed unused code, added/fixed comments
2018-10-30 09:38:44 +01:00
Thor Brigsted
f5856f7911 Fixed #66 Minor bug with noodle 2018-10-06 01:34:34 +02:00
Simon Rodriguez
c015b6ec4b Added attribute NodeWidth.
Changes the width used when rendering the node in the editor.
2018-06-17 14:16:13 +02:00
Thor Brigsted
6d6a6abd9e Added support for usage from a DLL #23 2018-03-25 12:51:02 +02:00
Thor
66de07e1a7 More strongly typed namespaces to prevent import conflicts 2017-12-18 10:37:02 +01:00
neko1990
ec4429e969 compatibility patches, make xNode work on Unity 5.4. 2017-12-03 23:50:54 +08:00
Thor Brigsted
d7e133a822 Defined namespaces across all scripts prevent conflicts. 2017-12-02 09:56:41 +01:00
Thor Kramer Brigsted
4ea25f6aee Initial NodeGraphEditor implementation 2017-11-22 14:54:06 +01:00
Thor Kramer Brigsted
81f5879e92 Started work on snap and grid color 2017-11-21 10:51:27 +01:00
Thor Kramer Brigsted
566a64b31f Added preferences shortcut to graph context menu 2017-11-20 15:45:30 +01:00
Thor Brigsted
69c2b254aa Added [ContextMenu] support 2017-11-20 00:11:17 +01:00
Thor Brigsted
fc16f69710 Nodes can now define a unique color per type using [NodeColor] 2017-11-14 01:07:26 +01:00
Thor Brigsted
05f7b4ca82 Tooltip shows static output values 2017-11-06 00:36:25 +01:00
Thor Brigsted
c6a4735c71 Renamed to xNode
Added XNode and XNodeEDitor namespaces
Removed unnecessary usings
2017-11-05 23:42:31 +01:00
Thor Brigsted
64282028aa Code FixFormat
None of the code was changed, just moved around.
2017-10-14 08:37:33 +02:00
Thor Brigsted
638e784ca9 Added custom context menu path in attribute
Created NodeEditorUtilities
Renamed 'RightClickContextMenu' to 'ShowContextMenu'
Excluded abstract classes from nodeTypes and nodeEditorTypes
2017-09-22 12:19:21 +02:00
Thor Brigsted
846f7f30b1 Exposed fields and custom editors 2017-09-21 13:22:34 +02:00
Thor Brigsted
f9152bf891 Editor core complete
Removed NodeConnection.cs: Node ports now operate by crossreferencing eachother
Changed from separate static classes to partial class
Removed UNEC Namespace
Added live hover info
2017-09-20 17:22:23 +02:00
Thor Brigsted
5f0a776350 Started work on node graphs 2017-09-15 15:56:17 +02:00
Thor Brigsted
23c1d87988 Basic grid background 2017-09-15 00:46:21 +02:00