![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Base class to derive custom Node editors from. Use this to create your own custom inspectors and editors for your nodes. More...
Classes | |
class | CustomNodeEditorAttribute |
Public Member Functions | |
virtual void | OnHeaderGUI () |
virtual void | OnBodyGUI () |
Draws standard field editors for all public fields More... | |
virtual int | GetWidth () |
virtual Color | GetTint () |
Returns color for target node More... | |
virtual GUIStyle | GetBodyStyle () |
virtual GUIStyle | GetBodyHighlightStyle () |
virtual void | AddContextMenuItems (GenericMenu menu) |
Add items for the context menu when right-clicking this node. Override to add custom menu items. More... | |
void | Rename (string newName) |
Rename the node asset. This will trigger a reimport of the node. More... | |
![]() | |
virtual void | OnCreate () |
Called on creation, after references have been set More... | |
Static Public Attributes | |
static Action< XNode.Node > | onUpdateNode |
Fires every whenever a node was modified through the editor More... | |
static readonly Dictionary< XNode.NodePort, Vector2 > | portPositions = new Dictionary<XNode.NodePort, Vector2>() |
Additional Inherited Members | |
![]() | |
static T | GetEditor (K target, NodeEditorWindow window) |
![]() | |
NodeEditorWindow | window |
K | target |
SerializedObject | serializedObject |
Base class to derive custom Node editors from. Use this to create your own custom inspectors and editors for your nodes.
|
virtual |
Add items for the context menu when right-clicking this node. Override to add custom menu items.
|
virtual |
|
virtual |
|
virtual |
Returns color for target node
|
virtual |
|
virtual |
Draws standard field editors for all public fields
Reimplemented in PlatformerPro.AI.EnemyNodeEditor, PlatformerPro.Dialog.EventResponseNodeEditor, and PlatformerPro.Dialog.DialogNodeEditor.
|
virtual |
void XNodeEditor.NodeEditor.Rename | ( | string | newName | ) |
Rename the node asset. This will trigger a reimport of the node.
|
static |
Fires every whenever a node was modified through the editor
|
static |