Main Quest Editor window. More...
Public Member Functions | |
void | ShowQuestRelations (QuestDatabase database) |
void | SelectQuest (Quest quest) |
void | SelectQuest (QuestListContainer questListContainer) |
void | SelectQuest (QuestListContainer questListContainer, int questListIndex) |
void | SelectQuest (Quest quest, QuestListContainer questListContainer, int questListIndex) |
void | DrawTitleImage () |
void | DrawNoSelection () |
Static Public Member Functions | |
static void | ShowWindow () |
static void | RepaintNow () |
static void | RepaintInspectorsNow () |
static void | SetSelectionToQuest () |
static void | UpdateSelectedQuestSerializedObject () |
static void | ApplyModifiedPropertiesFromSelectedQuestSerializedObject () |
static bool | IsSelectedQuest (SerializedObject serializedObject) |
Properties | |
static QuestEditorWindow | instance [get] |
Reference to the current instance of QuestEditorWindow. | |
static bool | isOpen [get] |
True if the Quest Editor window is open. | |
static HashSet< Editor > | currentInspectors = new HashSet<Editor>() [get, set] |
Reference to current inspector. | |
static Quest | selectedQuest [get] |
The quest currently selected for editing. | |
static SerializedObject | selectedQuestSerializedObject [get] |
The serialized object representation of the current quest. | |
static int | selectedNodeListIndex [get, set] |
The index of the main selected node in the current quest's nodeList. | |
static List< int > | selectedNodeListIndices [get] |
The indices of all selected nodes in the current quest's nodeList. | |
static List< string > | nodeClipboard [get] |
static List< int > | nodeIndexClipboard [get] |
static QuestListContainer | selectedQuestListContainer [get] |
Vector2 | canvasScrollPosition [get, set] |
Main Quest Editor window.
This script handles window management and references to objects such as the current selection, window instance, and current inspector editor. It delegates most of the actual GUI work to QuestCanvasGUI.
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
getset |
|
staticgetset |
Reference to current inspector.
When things change in the Quest Editor window, we may also need to request the inspector to update its display. When an inspector becomes active, it sets this property.
|
staticget |
Reference to the current instance of QuestEditorWindow.
|
staticget |
True if the Quest Editor window is open.
|
staticget |
|
staticget |
|
staticgetset |
The index of the main selected node in the current quest's nodeList.
|
staticget |
The indices of all selected nodes in the current quest's nodeList.
|
staticget |
The quest currently selected for editing.
|
staticget |
|
staticget |
The serialized object representation of the current quest.