C# Class MapMagic.Nodes.GUI.GraphWindow

Inheritance: EditorWindow
显示文件 Open project: galqawala/Senganget Class Usage Examples

Public Properties

Property Type Description
current GraphWindow
graph Graph
graphUI UI
graphsScrollZooms Vector3>.Dictionary
mapMagic MapMagicObject
parentGraphs List
selected HashSet

Private Properties

Property Type Description
ContainsSubGraphSteps bool
DragDrawAddRemove void
DrawGraph void
DrawToolbar void
FindReusableWindow GraphWindow
GetNodesCenter Vector2
OnGUI void
OnHierarchyChange void
OpenRoot void
RefreshMapMagic void
ScrollZoomOnOpen void
ShowEditor bool
ShowEditor void
ShowWindow void
TryOpenMapMagicBiome bool

Public Methods

Method Description
GetRelatedMapMagic ( Graph graph ) : MapMagicObject
GetStepsToSubGraph ( Graph rootGraph, Graph subGraph ) : List
OnDisable ( ) : void
OnEnable ( ) : void
OnInspectorUpdate ( ) : void
OnSceneGUI ( SceneView sceneview ) : void
OpenBiome ( Graph graph ) : void
OpenBiome ( Graph graph, Graph root ) : void
RecordCompleteUndo ( ) : void
RefreshMapMagic ( ) : void
RefreshMapMagic ( Generator gen ) : void
RefreshMapMagic ( Generator gen1, Generator gen2 ) : void
Show ( Graph graph ) : GraphWindow
ShowInNewTab ( Graph graph ) : GraphWindow

Private Methods

Method Description
ContainsSubGraphSteps ( Graph thisGraph, Graph subGraph, List steps ) : bool
DragDrawAddRemove ( ) : void
DrawGraph ( ) : void
DrawToolbar ( ) : void
FindReusableWindow ( Graph graph ) : GraphWindow
GetNodesCenter ( Graph graph ) : Vector2
OnGUI ( ) : void
OnHierarchyChange ( ) : void
OpenRoot ( Graph graph ) : void
RefreshMapMagic ( bool all, Generator gen1, Generator gen2 ) : void
ScrollZoomOnOpen ( ) : void
ShowEditor ( int instanceID, int line ) : bool
ShowEditor ( ) : void
ShowWindow ( GraphWindow window, bool inTab = false ) : void
TryOpenMapMagicBiome ( Graph graph ) : bool

Method Details

GetRelatedMapMagic() public static method

public static GetRelatedMapMagic ( Graph graph ) : MapMagicObject
graph Graph
return MapMagicObject

GetStepsToSubGraph() public static method

public static GetStepsToSubGraph ( Graph rootGraph, Graph subGraph ) : List
rootGraph Graph
subGraph Graph
return List

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnInspectorUpdate() public method

public OnInspectorUpdate ( ) : void
return void

OnSceneGUI() public method

public OnSceneGUI ( SceneView sceneview ) : void
sceneview SceneView
return void

OpenBiome() public method

public OpenBiome ( Graph graph ) : void
graph Graph
return void

OpenBiome() public method

public OpenBiome ( Graph graph, Graph root ) : void
graph Graph
root Graph
return void

RecordCompleteUndo() public static method

public static RecordCompleteUndo ( ) : void
return void

RefreshMapMagic() public static method

public static RefreshMapMagic ( ) : void
return void

RefreshMapMagic() public static method

public static RefreshMapMagic ( Generator gen ) : void
gen Generator
return void

RefreshMapMagic() public static method

public static RefreshMapMagic ( Generator gen1, Generator gen2 ) : void
gen1 Generator
gen2 Generator
return void

Show() public static method

public static Show ( Graph graph ) : GraphWindow
graph Graph
return GraphWindow

ShowInNewTab() public static method

public static ShowInNewTab ( Graph graph ) : GraphWindow
graph Graph
return GraphWindow

Property Details

current public_oe static_oe property

public static GraphWindow current
return GraphWindow

graph public_oe property

public Graph graph
return Graph

graphUI public_oe property

public UI graphUI
return UI

graphsScrollZooms public_oe static_oe property

public static Dictionary graphsScrollZooms
return Vector3>.Dictionary

mapMagic public_oe property

public MapMagicObject mapMagic
return MapMagicObject

parentGraphs public_oe property

public List parentGraphs
return List

selected public_oe property

public HashSet selected
return HashSet