Table of Contents

Class CeresGraphEditorWindow

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll
public abstract class CeresGraphEditorWindow : EditorWindow, IHasCustomMenu
Inheritance
CeresGraphEditorWindow
Implements
IHasCustomMenu
Derived

Constructors

CeresGraphEditorWindow()

protected CeresGraphEditorWindow()

Properties

Container

Actual graph container of this window

public ICeresGraphContainer Container { get; protected set; }

Property Value

ICeresGraphContainer

Identifier

Unique object key per window

public CeresGraphIdentifier Identifier { get; protected set; }

Property Value

CeresGraphIdentifier

Methods

AddItemsToMenu(GenericMenu)

public virtual void AddItemsToMenu(GenericMenu menu)

Parameters

menu GenericMenu

GetContainerType()

public Type GetContainerType()

Returns

Type

Initialize(ICeresGraphContainer)

Setup EditorWindow

protected void Initialize(ICeresGraphContainer container)

Parameters

container ICeresGraphContainer

OnDisable()

protected virtual void OnDisable()

OnEnable()

protected virtual void OnEnable()

OnInitialize()

Initialize graph view in this stage

protected virtual void OnInitialize()

PreReload()

Called before reload

protected virtual void PreReload()

Reload()

Reload editor window

protected virtual void Reload()

SetContainerType(Type)

Set graph container type explicitly, useful when your runtime container is different from editor

public void SetContainerType(Type targetType)

Parameters

targetType Type