Class VisualScriptItem
Implementation of Binary
Inheritance
System.Object
FlaxEditor.Content.ContentItem
FlaxEditor.Content.AssetItem
VisualScriptItem
Implements
System.IComparable
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public class VisualScriptItem : BinaryAssetItem, IComparable, IDrawable
Constructors
VisualScriptItem(String, ref Guid, String, Type)
Declaration
public VisualScriptItem(string path, ref Guid id, string typeName, Type type)
Parameters
System.
|
System.
|
System.
|
System.
|
Fields
VisualScripts
The cached list of all Visual Script assets found in the workspace (engine, game and plugin projects). Updated on workspace modifications.
Declaration
public static readonly List<VisualScriptItem> VisualScripts
Field Value
System.
|
Properties
DefaultThumbnail
Declaration
public override SpriteHandle DefaultThumbnail { get; }
Property Value
Overrides
FlaxEditor.Content.ContentItem.DefaultThumbnail
DrawShadow
Declaration
protected override bool DrawShadow { get; }
Property Value
System.
|
Overrides
FlaxEditor.Content.AssetItem.DrawShadow
ScriptType
The Visual Script type. Can be null if failed to load asset.
Declaration
public ScriptType ScriptType { get; }
Property Value
Flax
|
Methods
OnDestroy()
Declaration
public override void OnDestroy()
Overrides
FlaxEditor.Content.ContentItem.OnDestroy()
OnEditorDrag(Object)
Declaration
public override bool OnEditorDrag(object context)
Parameters
System.
|
Returns
System.
|
Overrides
FlaxEditor.Content.AssetItem.OnEditorDrag(System.Object)
OnEditorDrop(Object)
Declaration
public override Actor OnEditorDrop(object context)
Parameters
System.
|
Returns
Overrides
FlaxEditor.Content.AssetItem.OnEditorDrop(System.Object)