Utility methods used by the custom editors.
More...
|
static System.Type | GetWrapperType (System.Type type) |
|
static bool | HasWrapperType (System.Type type) |
|
static List< Type > | GetSubtypes< T > () |
|
static bool | EditorGUILayoutFoldout (string label, string tooltip, bool foldout, bool topLevel=true) |
|
static void | EditorGUILayoutVerticalSpace (float pixels) |
|
static void | EditorGUILayoutBeginGroup () |
|
static void | EditorGUILayoutEndGroup () |
|
static void | EditorGUILayoutBeginIndent () |
|
static void | EditorGUILayoutEndIndent () |
|
static void | RemoveReorderableListElementWithoutLeavingNull (UnityEditorInternal.ReorderableList list) |
|
static void | SetDefaultTextTable (SerializedProperty stringFieldProperty, TextTable textTable) |
|
static string[] | GetCounterNames () |
|
static void | EditorGUILayoutCounterNamePopup (SerializedProperty counterIndexProperty, string[] nameList) |
|
static void | EditorGUICounterNamePopup (Rect rect, SerializedProperty counterIndexProperty, string[] nameList) |
|
static void | SetMessageParticipantID (SerializedProperty senderSpecifierProperty, SerializedProperty senderIDProperty) |
|
static void | SetTextFieldProperty (SerializedProperty textFieldProperty, string value) |
|
static void | ConsumeContextClickInRect (Rect rect) |
|
static void | DestroyQuestImmediate (Quest quest) |
| Call this to destroy quest instances in the editor (i.e., using DestroyImmediate).
|
|
static void | ArrangeNodes (Quest quest, List< int > nodeIndicesToArrange) |
|
Utility methods used by the custom editors.
◆ ArrangeNodes()
static void PixelCrushers.QuestMachine.QuestEditorUtility.ArrangeNodes |
( |
Quest |
quest, |
|
|
List< int > |
nodeIndicesToArrange |
|
) |
| |
|
inlinestatic |
◆ ConsumeContextClickInRect()
static void PixelCrushers.QuestMachine.QuestEditorUtility.ConsumeContextClickInRect |
( |
Rect |
rect | ) |
|
|
inlinestatic |
◆ DestroyQuestImmediate()
static void PixelCrushers.QuestMachine.QuestEditorUtility.DestroyQuestImmediate |
( |
Quest |
quest | ) |
|
|
inlinestatic |
Call this to destroy quest instances in the editor (i.e., using DestroyImmediate).
◆ EditorGUICounterNamePopup()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUICounterNamePopup |
( |
Rect |
rect, |
|
|
SerializedProperty |
counterIndexProperty, |
|
|
string[] |
nameList |
|
) |
| |
|
inlinestatic |
◆ EditorGUILayoutBeginGroup()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutBeginGroup |
( |
| ) |
|
|
inlinestatic |
◆ EditorGUILayoutBeginIndent()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutBeginIndent |
( |
| ) |
|
|
inlinestatic |
◆ EditorGUILayoutCounterNamePopup()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutCounterNamePopup |
( |
SerializedProperty |
counterIndexProperty, |
|
|
string[] |
nameList |
|
) |
| |
|
inlinestatic |
◆ EditorGUILayoutEndGroup()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutEndGroup |
( |
| ) |
|
|
inlinestatic |
◆ EditorGUILayoutEndIndent()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutEndIndent |
( |
| ) |
|
|
inlinestatic |
◆ EditorGUILayoutFoldout()
static bool PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutFoldout |
( |
string |
label, |
|
|
string |
tooltip, |
|
|
bool |
foldout, |
|
|
bool |
topLevel = true |
|
) |
| |
|
inlinestatic |
◆ EditorGUILayoutVerticalSpace()
static void PixelCrushers.QuestMachine.QuestEditorUtility.EditorGUILayoutVerticalSpace |
( |
float |
pixels | ) |
|
|
inlinestatic |
◆ GetCounterNames()
static string[] PixelCrushers.QuestMachine.QuestEditorUtility.GetCounterNames |
( |
| ) |
|
|
inlinestatic |
◆ GetSubtypes< T >()
static List< Type > PixelCrushers.QuestMachine.QuestEditorUtility.GetSubtypes< T > |
( |
| ) |
|
|
inlinestatic |
◆ GetWrapperType()
static System.Type PixelCrushers.QuestMachine.QuestEditorUtility.GetWrapperType |
( |
System::Type |
type | ) |
|
|
inlinestatic |
◆ HasWrapperType()
static bool PixelCrushers.QuestMachine.QuestEditorUtility.HasWrapperType |
( |
System::Type |
type | ) |
|
|
inlinestatic |
◆ RemoveReorderableListElementWithoutLeavingNull()
static void PixelCrushers.QuestMachine.QuestEditorUtility.RemoveReorderableListElementWithoutLeavingNull |
( |
UnityEditorInternal::ReorderableList |
list | ) |
|
|
inlinestatic |
◆ SetDefaultTextTable()
static void PixelCrushers.QuestMachine.QuestEditorUtility.SetDefaultTextTable |
( |
SerializedProperty |
stringFieldProperty, |
|
|
TextTable |
textTable |
|
) |
| |
|
inlinestatic |
◆ SetMessageParticipantID()
static void PixelCrushers.QuestMachine.QuestEditorUtility.SetMessageParticipantID |
( |
SerializedProperty |
senderSpecifierProperty, |
|
|
SerializedProperty |
senderIDProperty |
|
) |
| |
|
inlinestatic |
◆ SetTextFieldProperty()
static void PixelCrushers.QuestMachine.QuestEditorUtility.SetTextFieldProperty |
( |
SerializedProperty |
textFieldProperty, |
|
|
string |
value |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- C:/Dev/Quest Machine/Dev/Source/Assets/Plugins/Pixel Crushers/Quest Machine/Scripts/Editor/Quest Editors/Utility/QuestEditorUtility.cs