![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Base class to derive custom Node Graph editors from. Use this to override how graphs are drawn in the editor. More...
Classes | |
class | CustomNodeGraphEditorAttribute |
Public Member Functions | |
virtual void | OnGUI () |
virtual void | OnOpen () |
Called when opened by NodeEditorWindow More... | |
virtual Texture2D | GetGridTexture () |
virtual Texture2D | GetSecondaryGridTexture () |
virtual NodeEditorPreferences.Settings | GetDefaultPreferences () |
Return default settings for this graph type. This is the settings the user will load if no previous settings have been saved. More... | |
virtual string | GetNodeMenuName (Type type) |
Returns context node menu path. Null or empty strings for hidden nodes. More... | |
virtual void | AddContextMenuItems (GenericMenu menu) |
Add items for the context menu when right-clicking this node. Override to add custom menu items. More... | |
virtual Gradient | GetNoodleGradient (XNode.NodePort output, XNode.NodePort input) |
Returned gradient is used to color noodles More... | |
virtual float | GetNoodleThickness (XNode.NodePort output, XNode.NodePort input) |
Returned float is used for noodle thickness More... | |
virtual NoodlePath | GetNoodlePath (XNode.NodePort output, XNode.NodePort input) |
virtual NoodleStroke | GetNoodleStroke (XNode.NodePort output, XNode.NodePort input) |
virtual Color | GetPortColor (XNode.NodePort port) |
Returned color is used to color ports More... | |
virtual Color | GetTypeColor (Type type) |
Returns generated color for a type. This color is editable in preferences More... | |
virtual string | GetPortTooltip (XNode.NodePort port) |
Override to display custom tooltips More... | |
virtual void | OnDropObjects (UnityEngine.Object[] objects) |
Deal with objects dropped into the graph through DragAndDrop More... | |
virtual XNode.Node | CreateNode (Type type, Vector2 position) |
Create a node and save it in the graph asset More... | |
XNode.Node | CopyNode (XNode.Node original) |
Creates a copy of the original node in the graph More... | |
virtual void | RemoveNode (XNode.Node node) |
Safely remove a node and all its connections. More... | |
![]() | |
virtual void | OnCreate () |
Called on creation, after references have been set More... | |
Protected Attributes | |
bool | isRenaming |
Are we currently renaming a node? More... | |
Properties | |
Rect | position [get, set] |
Additional Inherited Members | |
![]() | |
static T | GetEditor (K target, NodeEditorWindow window) |
![]() | |
NodeEditorWindow | window |
K | target |
SerializedObject | serializedObject |
Base class to derive custom Node Graph editors from. Use this to override how graphs are drawn in the editor.
|
virtual |
Add items for the context menu when right-clicking this node. Override to add custom menu items.
XNode.Node XNodeEditor.NodeGraphEditor.CopyNode | ( | XNode.Node | original | ) |
Creates a copy of the original node in the graph
|
virtual |
Create a node and save it in the graph asset
|
virtual |
Return default settings for this graph type. This is the settings the user will load if no previous settings have been saved.
|
virtual |
|
virtual |
Returns context node menu path. Null or empty strings for hidden nodes.
|
virtual |
Returned gradient is used to color noodles
output | The output this noodle comes from. Never null. |
input | The output this noodle comes from. Can be null if we are dragging the noodle. |
|
virtual |
|
virtual |
|
virtual |
Returned float is used for noodle thickness
output | The output this noodle comes from. Never null. |
input | The output this noodle comes from. Can be null if we are dragging the noodle. |
|
virtual |
Returned color is used to color ports
|
virtual |
Override to display custom tooltips
|
virtual |
|
virtual |
Returns generated color for a type. This color is editable in preferences
|
virtual |
Deal with objects dropped into the graph through DragAndDrop
|
virtual |
|
virtual |
Called when opened by NodeEditorWindow
|
virtual |
Safely remove a node and all its connections.
|
protected |
Are we currently renaming a node?
|
getset |