Files
FlaxEngine/Source/Editor/Content/IFileEntryAction.cs

30 lines
678 B
C#

// Copyright (c) Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Content
{
/// <summary>
/// File entry action (import or create).
/// </summary>
[HideInEditor]
public interface IFileEntryAction
{
/// <summary>
/// The source file path (may be empty or null).
/// </summary>
string SourceUrl { get; }
/// <summary>
/// The result file path.
/// </summary>
string ResultUrl { get; }
/// <summary>
/// Executes this action.
/// </summary>
/// <returns>True if, failed, otherwise false.</returns>
bool Execute();
}
}