Class GameplayGlobalsWindow
Editor window to view/modify GameplayGlobals asset.
Inheritance
System.Object
FlaxEngine.GUI.ScrollableControl
GameplayGlobalsWindow
Namespace: FlaxEditor.Windows.Assets
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class GameplayGlobalsWindow : AssetEditorWindowBase<GameplayGlobals>, IComparable, IDrawable, IEditable, IContentItemOwner
Constructors
GameplayGlobalsWindow(Editor, AssetItem)
Declaration
public GameplayGlobalsWindow(Editor editor, AssetItem item)
Parameters
Editor
editor
|
FlaxEditor.Content.AssetItem
item
|
Properties
Undo
Methods
OnAssetLoaded()
Called when asset gets loaded and window can setup UI for it.
Declaration
protected override void OnAssetLoaded()
Overrides
FlaxEditor.Windows.Assets.AssetEditorWindowBase<FlaxEngine.GameplayGlobals>.OnAssetLoaded()
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
OnPlayBegin()
Called when Editor is entering play mode.
Declaration
public override void OnPlayBegin()
Overrides
OnPlayEnd()
Called when Editor leaves the play mode.
Declaration
public override void OnPlayEnd()
Overrides
Save()
Tries to save asset changes if it has been edited.
Declaration
public override void Save()
Overrides
UnlinkItem()
Unlinks the item. Removes reference to it and unbinds all events.
Declaration
protected override void UnlinkItem()
Overrides
FlaxEditor.Windows.Assets.AssetEditorWindowBase<FlaxEngine.GameplayGlobals>.UnlinkItem()
UpdateToolstrip()
Updates the toolstrip buttons and other controls. Called after some window events.
Declaration
protected override void UpdateToolstrip()