Class PrefabItem
Content item that contains Prefab data.
Inheritance
System.Object
FlaxEditor.Content.ContentItem
FlaxEditor.Content.AssetItem
PrefabItem
Implements
System.IComparable
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class PrefabItem : JsonAssetItem, IComparable, IDrawable
Constructors
PrefabItem(String, Guid)
Initializes a new instance of the PrefabItem class.
Declaration
public PrefabItem(string path, Guid id)
Parameters
System.String
path
The asset path. |
System.Guid
id
The asset identifier. |
Properties
DefaultThumbnail
Declaration
public override SpriteHandle DefaultThumbnail { get; }
Property Value
SpriteHandle
|
Overrides
ItemType
Declaration
public override ContentItemType ItemType { get; }
Property Value
FlaxEditor.Content.ContentItemType
|
Overrides
FlaxEditor.Content.AssetItem.ItemType
SearchFilter
Declaration
public override ContentItemSearchFilter SearchFilter { get; }
Property Value
FlaxEditor.Content.ContentItemSearchFilter
|
Overrides
TypeDescription
Declaration
public override string TypeDescription { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.AssetItem.TypeDescription
Methods
IsOfType(Type)
Declaration
public override bool IsOfType(Type type)
Parameters
System.Type
type
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetItem.IsOfType(System.Type)
OnEditorDrag(Object)
Declaration
public override bool OnEditorDrag(object context)
Parameters
System.Object
context
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetItem.OnEditorDrag(System.Object)
OnEditorDrop(Object)
Declaration
public override Actor OnEditorDrop(object context)
Parameters
System.Object
context
|
Returns
Actor
|
Overrides
FlaxEditor.Content.AssetItem.OnEditorDrop(System.Object)