Class CeresGraphEditorWindow
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
Identifier
Unique object key per window
public CeresGraphIdentifier Identifier { get; protected set; }
Property Value
Methods
AddItemsToMenu(GenericMenu)
public virtual void AddItemsToMenu(GenericMenu menu)
Parameters
menuGenericMenu
GetContainerType()
public Type GetContainerType()
Returns
Initialize(ICeresGraphContainer)
Setup EditorWindow
protected void Initialize(ICeresGraphContainer container)
Parameters
containerICeresGraphContainer
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
targetTypeType