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

Public Member Functions

override void OnInspectorGUI ()
 
virtual void DrawVariablesGUI (bool showVariableToggleButton, int w)
 

Static Public Member Functions

static List< System.Type > FindAllDerivedTypes< T > ()
 
static List< System.Type > FindAllDerivedTypes< T > (Assembly assembly)
 

Protected Member Functions

virtual void OnEnable ()
 
virtual bool NullTargetCheck ()
 When modifying custom editor code you can occasionally end up with orphaned editor instances. More...
 

Protected Attributes

SerializedProperty descriptionProp
 
SerializedProperty colorCommandsProp
 
SerializedProperty hideComponentsProp
 
SerializedProperty stepPauseProp
 
SerializedProperty saveSelectionProp
 
SerializedProperty localizationIdProp
 
SerializedProperty variablesProp
 
SerializedProperty showLineNumbersProp
 
SerializedProperty hideCommandsProp
 
SerializedProperty luaEnvironmentProp
 
SerializedProperty luaBindingNameProp
 
Texture2D addTexture
 
VariableListAdaptor variableListAdaptor
 

Properties

static bool FlowchartDataStale [get, set]
 

Detailed Description

Definition at line 13 of file FlowchartEditor.cs.

Member Function Documentation

◆ DrawVariablesGUI()

virtual void Fungus.EditorUtils.FlowchartEditor.DrawVariablesGUI ( bool  showVariableToggleButton,
int  w 
)
virtual

Definition at line 107 of file FlowchartEditor.cs.

◆ FindAllDerivedTypes< T >() [1/2]

static List<System.Type> Fungus.EditorUtils.FlowchartEditor.FindAllDerivedTypes< T > ( )
static

Definition at line 156 of file FlowchartEditor.cs.

◆ FindAllDerivedTypes< T >() [2/2]

static List<System.Type> Fungus.EditorUtils.FlowchartEditor.FindAllDerivedTypes< T > ( Assembly  assembly)
static

Definition at line 161 of file FlowchartEditor.cs.

◆ NullTargetCheck()

virtual bool Fungus.EditorUtils.FlowchartEditor.NullTargetCheck ( )
protectedvirtual

When modifying custom editor code you can occasionally end up with orphaned editor instances.

When this happens, you'll get a null exception error every time the scene serializes / deserialized. Once this situation occurs, the only way to fix it is to restart the Unity editor. As a workaround, this function detects if this editor is an orphan and deletes it.

Definition at line 179 of file FlowchartEditor.cs.

◆ OnEnable()

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

Definition at line 34 of file FlowchartEditor.cs.

◆ OnInspectorGUI()

override void Fungus.EditorUtils.FlowchartEditor.OnInspectorGUI ( )

Definition at line 56 of file FlowchartEditor.cs.

Member Data Documentation

◆ addTexture

Texture2D Fungus.EditorUtils.FlowchartEditor.addTexture
protected

Definition at line 27 of file FlowchartEditor.cs.

◆ colorCommandsProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.colorCommandsProp
protected

Definition at line 16 of file FlowchartEditor.cs.

◆ descriptionProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.descriptionProp
protected

Definition at line 15 of file FlowchartEditor.cs.

◆ hideCommandsProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.hideCommandsProp
protected

Definition at line 23 of file FlowchartEditor.cs.

◆ hideComponentsProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.hideComponentsProp
protected

Definition at line 17 of file FlowchartEditor.cs.

◆ localizationIdProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.localizationIdProp
protected

Definition at line 20 of file FlowchartEditor.cs.

◆ luaBindingNameProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.luaBindingNameProp
protected

Definition at line 25 of file FlowchartEditor.cs.

◆ luaEnvironmentProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.luaEnvironmentProp
protected

Definition at line 24 of file FlowchartEditor.cs.

◆ saveSelectionProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.saveSelectionProp
protected

Definition at line 19 of file FlowchartEditor.cs.

◆ showLineNumbersProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.showLineNumbersProp
protected

Definition at line 22 of file FlowchartEditor.cs.

◆ stepPauseProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.stepPauseProp
protected

Definition at line 18 of file FlowchartEditor.cs.

◆ variableListAdaptor

VariableListAdaptor Fungus.EditorUtils.FlowchartEditor.variableListAdaptor
protected

Definition at line 29 of file FlowchartEditor.cs.

◆ variablesProp

SerializedProperty Fungus.EditorUtils.FlowchartEditor.variablesProp
protected

Definition at line 21 of file FlowchartEditor.cs.

Property Documentation

◆ FlowchartDataStale

bool Fungus.EditorUtils.FlowchartEditor.FlowchartDataStale
staticgetset

Definition at line 32 of file FlowchartEditor.cs.


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