Class FontAssetWindow
Editor window to view/modify FontAsset asset.
Inheritance
System.Object
FlaxEngine.GUI.ScrollableControl
FontAssetWindow
Namespace: FlaxEditor.Windows.Assets
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class FontAssetWindow : AssetEditorWindowBase<FontAsset>, IComparable, IDrawable, IEditable, IContentItemOwner
Constructors
FontAssetWindow(Editor, AssetItem)
Declaration
public FontAssetWindow(Editor editor, AssetItem item)
Parameters
Editor
editor
|
FlaxEditor.Content.AssetItem
item
|
Methods
OnAssetLinked()
Called when asset gets linked and window can setup UI for it.
Declaration
protected override void OnAssetLinked()
Overrides
FlaxEditor.Windows.Assets.AssetEditorWindowBase<FlaxEngine.FontAsset>.OnAssetLinked()
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
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.FontAsset>.UnlinkItem()
UpdateToolstrip()
Updates the toolstrip buttons and other controls. Called after some window events.
Declaration
protected override void UpdateToolstrip()