v3.11.4 Documentation
Fungus.EditorUtils.BlockEditor Class Reference
Inheritance diagram for Fungus.EditorUtils.BlockEditor:

Public Member Functions

virtual void DrawBlockName (Flowchart flowchart)
 
virtual void DrawBlockGUI (Flowchart flowchart)
 
virtual void DrawButtonToolbar ()
 
virtual void ShowContextMenu ()
 

Static Public Member Functions

static void BlockField (SerializedProperty property, GUIContent label, GUIContent nullLabel, Flowchart flowchart)
 
static Block BlockField (Rect position, GUIContent nullLabel, Flowchart flowchart, Block block)
 
static List< KeyValuePair< System.Type, CommandInfoAttribute > > GetFilteredCommandInfoAttribute (List< System.Type > menuTypes)
 
static int CompareCommandAttributes (KeyValuePair< System.Type, CommandInfoAttribute > x, KeyValuePair< System.Type, CommandInfoAttribute > y)
 

Static Public Attributes

static List< Action > actionList = new List<Action>()
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void DrawEventHandlerGUI (Flowchart flowchart)
 
void SelectAll ()
 
void SelectNone ()
 
void Cut ()
 
void Copy ()
 
void Paste ()
 
void Delete ()
 
void PlayCommand ()
 
void StopAllPlayCommand ()
 
IEnumerator RunBlock (Flowchart flowchart, Block targetBlock, int commandIndex, float delay)
 
void SelectPrevious ()
 
void SelectNext ()
 

Static Protected Member Functions

static void ExportReferenceDocs ()
 
static void ExportCommandInfo (string path)
 
static void ExportEventHandlerInfo (string path)
 
static string GetPropertyInfo (System.Type type)
 

Protected Attributes

Texture2D upIcon
 
Texture2D downIcon
 
Texture2D addIcon
 
Texture2D duplicateIcon
 
Texture2D deleteIcon
 

Properties

static bool SelectedBlockDataStale [get, set]
 

Detailed Description

Definition at line 18 of file BlockEditor.cs.

Member Function Documentation

◆ BlockField() [1/2]

static void Fungus.EditorUtils.BlockEditor.BlockField ( SerializedProperty  property,
GUIContent  label,
GUIContent  nullLabel,
Flowchart  flowchart 
)
static

Definition at line 401 of file BlockEditor.cs.

◆ BlockField() [2/2]

static Block Fungus.EditorUtils.BlockEditor.BlockField ( Rect  position,
GUIContent  nullLabel,
Flowchart  flowchart,
Block  block 
)
static

Definition at line 439 of file BlockEditor.cs.

◆ CompareCommandAttributes()

static int Fungus.EditorUtils.BlockEditor.CompareCommandAttributes ( KeyValuePair< System.Type, CommandInfoAttribute x,
KeyValuePair< System.Type, CommandInfoAttribute y 
)
static

Definition at line 521 of file BlockEditor.cs.

◆ Copy()

void Fungus.EditorUtils.BlockEditor.Copy ( )
protected

Definition at line 790 of file BlockEditor.cs.

◆ Cut()

void Fungus.EditorUtils.BlockEditor.Cut ( )
protected

Definition at line 784 of file BlockEditor.cs.

◆ Delete()

void Fungus.EditorUtils.BlockEditor.Delete ( )
protected

Definition at line 892 of file BlockEditor.cs.

◆ DrawBlockGUI()

virtual void Fungus.EditorUtils.BlockEditor.DrawBlockGUI ( Flowchart  flowchart)
virtual

Definition at line 92 of file BlockEditor.cs.

◆ DrawBlockName()

virtual void Fungus.EditorUtils.BlockEditor.DrawBlockName ( Flowchart  flowchart)
virtual

Definition at line 62 of file BlockEditor.cs.

◆ DrawButtonToolbar()

virtual void Fungus.EditorUtils.BlockEditor.DrawButtonToolbar ( )
virtual

Definition at line 277 of file BlockEditor.cs.

◆ DrawEventHandlerGUI()

virtual void Fungus.EditorUtils.BlockEditor.DrawEventHandlerGUI ( Flowchart  flowchart)
protectedvirtual

Definition at line 346 of file BlockEditor.cs.

◆ ExportCommandInfo()

static void Fungus.EditorUtils.BlockEditor.ExportCommandInfo ( string  path)
staticprotected

Definition at line 531 of file BlockEditor.cs.

◆ ExportEventHandlerInfo()

static void Fungus.EditorUtils.BlockEditor.ExportEventHandlerInfo ( string  path)
staticprotected

Definition at line 578 of file BlockEditor.cs.

◆ ExportReferenceDocs()

static void Fungus.EditorUtils.BlockEditor.ExportReferenceDocs ( )
staticprotected

Definition at line 478 of file BlockEditor.cs.

◆ GetFilteredCommandInfoAttribute()

static List<KeyValuePair<System.Type, CommandInfoAttribute> > Fungus.EditorUtils.BlockEditor.GetFilteredCommandInfoAttribute ( List< System.Type >  menuTypes)
static

Definition at line 488 of file BlockEditor.cs.

◆ GetPropertyInfo()

static string Fungus.EditorUtils.BlockEditor.GetPropertyInfo ( System.Type  type)
staticprotected

Definition at line 623 of file BlockEditor.cs.

◆ OnEnable()

virtual void Fungus.EditorUtils.BlockEditor.OnEnable ( )
protectedvirtual

Definition at line 37 of file BlockEditor.cs.

◆ Paste()

void Fungus.EditorUtils.BlockEditor.Paste ( )
protected

Definition at line 833 of file BlockEditor.cs.

◆ PlayCommand()

void Fungus.EditorUtils.BlockEditor.PlayCommand ( )
protected

Definition at line 937 of file BlockEditor.cs.

◆ RunBlock()

IEnumerator Fungus.EditorUtils.BlockEditor.RunBlock ( Flowchart  flowchart,
Block  targetBlock,
int  commandIndex,
float  delay 
)
protected

Definition at line 968 of file BlockEditor.cs.

◆ SelectAll()

void Fungus.EditorUtils.BlockEditor.SelectAll ( )
protected

Definition at line 746 of file BlockEditor.cs.

◆ SelectNext()

void Fungus.EditorUtils.BlockEditor.SelectNext ( )
protected

Definition at line 1014 of file BlockEditor.cs.

◆ SelectNone()

void Fungus.EditorUtils.BlockEditor.SelectNone ( )
protected

Definition at line 767 of file BlockEditor.cs.

◆ SelectPrevious()

void Fungus.EditorUtils.BlockEditor.SelectPrevious ( )
protected

Definition at line 974 of file BlockEditor.cs.

◆ ShowContextMenu()

virtual void Fungus.EditorUtils.BlockEditor.ShowContextMenu ( )
virtual

Definition at line 658 of file BlockEditor.cs.

◆ StopAllPlayCommand()

void Fungus.EditorUtils.BlockEditor.StopAllPlayCommand ( )
protected

Definition at line 957 of file BlockEditor.cs.

Member Data Documentation

◆ actionList

List<Action> Fungus.EditorUtils.BlockEditor.actionList = new List<Action>()
static

Definition at line 20 of file BlockEditor.cs.

◆ addIcon

Texture2D Fungus.EditorUtils.BlockEditor.addIcon
protected

Definition at line 26 of file BlockEditor.cs.

◆ deleteIcon

Texture2D Fungus.EditorUtils.BlockEditor.deleteIcon
protected

Definition at line 28 of file BlockEditor.cs.

◆ downIcon

Texture2D Fungus.EditorUtils.BlockEditor.downIcon
protected

Definition at line 25 of file BlockEditor.cs.

◆ duplicateIcon

Texture2D Fungus.EditorUtils.BlockEditor.duplicateIcon
protected

Definition at line 27 of file BlockEditor.cs.

◆ upIcon

Texture2D Fungus.EditorUtils.BlockEditor.upIcon
protected

Definition at line 24 of file BlockEditor.cs.

Property Documentation

◆ SelectedBlockDataStale

bool Fungus.EditorUtils.BlockEditor.SelectedBlockDataStale
staticgetset

Definition at line 22 of file BlockEditor.cs.


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