PixelCrushers.DialogueSystem.SequenceEditorTools Class Reference

This class provides a custom drawer for Sequence fields. More...

Static Public Member Functions

static void AddText (string text)
 Add text to the currently-edited sequence.
 
static string SaveDragDropCommands ()
 
static void RestoreDragDropCommands (string s)
 
static string DrawLayout (GUIContent guiContent, string sequence, ref Rect rect, DialogueEntry entry=null, Field field=null)
 
static string DrawLayout (GUIContent guiContent, string sequence, ref Rect rect, ref SequenceSyntaxState syntaxState, DialogueEntry entry=null, Field field=null)
 
static SequenceSyntaxState CheckSyntax (string sequence)
 
static void SetSyntaxStateGUIColor (SequenceSyntaxState syntaxState)
 
static void ClearSyntaxStateGUIColor ()
 

Static Public Attributes

static TryDragAndDropDelegate tryDragAndDrop = null
 Assign delegate handler to check extra drag-n-drop options.
 

Events

static SetupGenericMenuDelegate customSequenceMenuSetup = null
 Assign handler(s) to add extra menu items to the Sequence dropdown menu.
 

Detailed Description

This class provides a custom drawer for Sequence fields.

Member Function Documentation

◆ AddText()

static void PixelCrushers.DialogueSystem.SequenceEditorTools.AddText ( string  text)
inlinestatic

Add text to the currently-edited sequence.

Typically called from a customSequenceMenuSetup handler.

◆ CheckSyntax()

static SequenceSyntaxState PixelCrushers.DialogueSystem.SequenceEditorTools.CheckSyntax ( string  sequence)
inlinestatic

◆ ClearSyntaxStateGUIColor()

static void PixelCrushers.DialogueSystem.SequenceEditorTools.ClearSyntaxStateGUIColor ( )
inlinestatic

◆ DrawLayout() [1/2]

static string PixelCrushers.DialogueSystem.SequenceEditorTools.DrawLayout ( GUIContent  guiContent,
string  sequence,
ref Rect  rect,
DialogueEntry  entry = null,
Field  field = null 
)
inlinestatic

◆ DrawLayout() [2/2]

static string PixelCrushers.DialogueSystem.SequenceEditorTools.DrawLayout ( GUIContent  guiContent,
string  sequence,
ref Rect  rect,
ref SequenceSyntaxState  syntaxState,
DialogueEntry  entry = null,
Field  field = null 
)
inlinestatic

◆ RestoreDragDropCommands()

static void PixelCrushers.DialogueSystem.SequenceEditorTools.RestoreDragDropCommands ( string  s)
inlinestatic

◆ SaveDragDropCommands()

static string PixelCrushers.DialogueSystem.SequenceEditorTools.SaveDragDropCommands ( )
inlinestatic

◆ SetSyntaxStateGUIColor()

static void PixelCrushers.DialogueSystem.SequenceEditorTools.SetSyntaxStateGUIColor ( SequenceSyntaxState  syntaxState)
inlinestatic

Member Data Documentation

◆ tryDragAndDrop

TryDragAndDropDelegate PixelCrushers.DialogueSystem.SequenceEditorTools.tryDragAndDrop = null
static

Assign delegate handler to check extra drag-n-drop options.

Event Documentation

◆ customSequenceMenuSetup

SetupGenericMenuDelegate PixelCrushers.DialogueSystem.SequenceEditorTools.customSequenceMenuSetup = null
static

Assign handler(s) to add extra menu items to the Sequence dropdown menu.


The documentation for this class was generated from the following file: