C# Class NodeEditorFramework.NodeEditorWindow

Inheritance: EditorWindow
Show file Open project: dlannan/csg-toolkit Class Usage Examples

Public Properties

Property Type Description
mainEditorState NodeEditorFramework.NodeEditorState
mainNodeCanvas NodeEditorFramework.NodeCanvas
openedCanvas string
openedCanvasPath string
sideWindowWidth int

Public Methods

Method Description
AssureHasEditor ( ) : void
DrawSideWindow ( ) : void
LoadNodeCanvas ( string path ) : void

Loads the mainNodeCanvas and it's associated mainEditorState from an asset at path

NewNodeCanvas ( ) : void

Creates and opens a new empty node canvas

OnGUI ( ) : void
SaveNodeCanvas ( string path ) : void

Saves the mainNodeCanvas and it's associated mainEditorState as an asset at path

Private Methods

Method Description
CreateEditor ( ) : void

Method Details

AssureHasEditor() public static method

public static AssureHasEditor ( ) : void
return void

DrawSideWindow() public method

public DrawSideWindow ( ) : void
return void

LoadNodeCanvas() public method

Loads the mainNodeCanvas and it's associated mainEditorState from an asset at path
public LoadNodeCanvas ( string path ) : void
path string
return void

NewNodeCanvas() public method

Creates and opens a new empty node canvas
public NewNodeCanvas ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

SaveNodeCanvas() public method

Saves the mainNodeCanvas and it's associated mainEditorState as an asset at path
public SaveNodeCanvas ( string path ) : void
path string
return void

Property Details

mainEditorState public property

public NodeEditorState,NodeEditorFramework mainEditorState
return NodeEditorFramework.NodeEditorState

mainNodeCanvas public property

public NodeCanvas,NodeEditorFramework mainNodeCanvas
return NodeEditorFramework.NodeCanvas

openedCanvas public static property

public static string openedCanvas
return string

openedCanvasPath public static property

public static string openedCanvasPath
return string

sideWindowWidth public static property

public static int sideWindowWidth
return int