Files
FlaxEngine/Source/Editor/Content/Items/FileItem.cs
W2Wizard d54efc73f1 Adapt to new spritehandle names
Lots of files! However only change was renaming the icons overall.
2021-05-13 15:16:45 +02:00

32 lines
916 B
C#

// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Content
{
/// <summary>
/// Content item for the auxiliary files.
/// </summary>
/// <seealso cref="FlaxEditor.Content.ContentItem" />
public class FileItem : ContentItem
{
/// <summary>
/// Initializes a new instance of the <see cref="FileItem"/> class.
/// </summary>
/// <param name="path">The path to the file.</param>
public FileItem(string path)
: base(path)
{
}
/// <inheritdoc />
public override ContentItemType ItemType => ContentItemType.Other;
/// <inheritdoc />
public override ContentItemSearchFilter SearchFilter => ContentItemSearchFilter.Other;
/// <inheritdoc />
public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.Document128;
}
}