int Expansions.Missions.Editor.MEGUINodeIcon.CompareTo |
( |
MEGUINodeIcon |
other | ) |
|
|
inline |
void Expansions.Missions.Editor.MEGUINodeIcon.OnBeginDrag |
( |
PointerEventData |
eventData | ) |
|
|
inline |
OnBeginDrag is called when the user starts a drag to drop an icon on the mission editor canvas. It creates the new node to be placed.
- Parameters
-
void Expansions.Missions.Editor.MEGUINodeIcon.OnDrag |
( |
PointerEventData |
eventData | ) |
|
|
inline |
OnDrag is called every frame the user continues to drag the new node.
It is only called when the position of the drag changes
- Parameters
-
void Expansions.Missions.Editor.MEGUINodeIcon.OnEndDrag |
( |
PointerEventData |
eventData | ) |
|
|
inline |
OnEndDrag is called when the user lets go of the mouse button when dragging a node to place on the mission editor canvas. It places the new node on the canvas
- Parameters
-
void Expansions.Missions.Editor.MEGUINodeIcon.OnPointerClick |
( |
PointerEventData |
eventData | ) |
|
|
inline |
Implements the IPointerClickHandler event.
- Parameters
-
void Expansions.Missions.Editor.MEGUINodeIcon.OnPointerEnter |
( |
PointerEventData |
eventData | ) |
|
|
inline |
void Expansions.Missions.Editor.MEGUINodeIcon.OnPointerExit |
( |
PointerEventData |
eventData | ) |
|
|
inline |
void Expansions.Missions.Editor.MEGUINodeIcon.ResetCanvasSetting |
( |
| ) |
|
|
inline |
Reset the flag for if this Node is on the cavas or not to false.
void Expansions.Missions.Editor.MEGUINodeIcon.SetHighlighterColor |
( |
Color |
newColor | ) |
|
|
inline |
Set the Highlighter color
- Parameters
-
void Expansions.Missions.Editor.MEGUINodeIcon.SetUp |
( |
MEBasicNode |
newBasicNode, |
|
|
Icon |
icon |
|
) |
| |
|
inline |
Setup a new basic Node Icon
- Parameters
-
newBasicNode | The underpinning data |
icon | an Icon resource for the image |
Setup a new basic Node Icon
- Parameters
-
newBasicNode | The underpinning data |
icon | an Icon resource for the image |
meguicanvasNode | Reference to the related MEGUINode |
void Expansions.Missions.Editor.MEGUINodeIcon.ToggleHighlighter |
( |
bool |
state | ) |
|
|
inline |
Toggle the highlighter visibility to that passed in
- Parameters
-
Image Expansions.Missions.Editor.MEGUINodeIcon.backgroundImage |
the image of the "button"
MEBasicNode Expansions.Missions.Editor.MEGUINodeIcon.basicNode |
Basic node that will be used to create the node that gets dropped on the convas.
bool Expansions.Missions.Editor.MEGUINodeIcon.IsInteractable |
Change to Toggle the interactability of a node icon.
RawImage Expansions.Missions.Editor.MEGUINodeIcon.nodeImage |
Image displayed to represent the node.
Text displayed on the node icon.
MEGUINode Expansions.Missions.Editor.MEGUINodeIcon.CanvasMEGUINode |
|
get |
This is the MEGUINode on the canvas if there is one.
bool Expansions.Missions.Editor.MEGUINodeIcon.IsCanvasNode |
|
get |
True if this NodeIcon represents an instance of the Node on the Canvas
The documentation for this class was generated from the following file:
- KSP/Assets/Expansions/Missions/_UI5/Screens/MissionEditorScreen/Scripts/MEGUINodeIcon.cs