Files
FlaxEngine/Source/Editor/Content/Proxy/PreviewsCacheProxy.cs
2021-01-02 14:28:49 +01:00

32 lines
882 B
C#

// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEditor.Windows;
using FlaxEditor.Windows.Assets;
using FlaxEngine;
namespace FlaxEditor.Content
{
/// <summary>
/// A <see cref="PreviewsCache"/> asset proxy object.
/// </summary>
/// <seealso cref="FlaxEditor.Content.BinaryAssetProxy" />
public class PreviewsCacheProxy : BinaryAssetProxy
{
/// <inheritdoc />
public override string Name => "Previews Cache";
/// <inheritdoc />
public override EditorWindow Open(Editor editor, ContentItem item)
{
return new PreviewsCacheWindow(editor, (AssetItem)item);
}
/// <inheritdoc />
public override Color AccentColor => Color.FromRGB(0x80FFAE);
/// <inheritdoc />
public override Type AssetType => typeof(PreviewsCache);
}
}